I’ve been doing some updates and the latest HACS (which I haven’t updated in a while) states the “sensor platform” has been removed. In my configuration.yaml, I have a LOT of sensors defined, such as:
#Templates
template:
- sensor:
- name: "ecobee_main_temp"
unit_of_measurement: 'F'
state: "{{ state_attr('climate.main_floor_ecobee', 'current_temperature') | float }}"
device_class: temperature
- sensor:
- name: "sunrise_fmt"
state: "{{ as_timestamp(states.sun.sun.attributes.next_rising) | timestamp_custom ('%H:%M:%S') }}"
- sensor:
- name: "sunset_fmt"
state: "{{ as_timestamp(states.sun.sun.attributes.next_setting) | timestamp_custom ('%H:%M:%S') }}"
Will this break when I update? If so, how (and wherre) do I create/recreate these sensors?