#Migrate from Ring binary_sensors to events?

2 messages · Page 1 of 1 (latest)

rocky otter
#

I have some automations that use Ring binary_sensors. Just got the notice that they are going away in 2025.4.0 release, how do I migrate them to the new event entity? An example of the automations is below

alias: Ring Ding Download
initial_state: True
trigger:
- platform: state
  entity_id: binary_sensor.front_door_ding
  from: 'off'
  to: 'on'
action:
- delay: 300
- service: downloader.download_file
  data:
    url: "{{ state_attr('camera.front_door_2', 'video_url') }}"
    subdir: "press"
    filename: "{{ now().strftime('%H-%M-%S')  }}.mpg"
bleak plover