I can no longer select some of my consumption sensors in Energy Dashboard.
This the sensor
- name: switch_trockner_watt
state: '{{ state_attr("switch.trockner","current_consumption") | float(default=0) }}'
state_class: measurement
unit_of_measurement: "W"
device_class: power
Can someone tell me what’s wrong?