Hi,
On my display I want to show states form devices of homeassistant. It is working, only after reboot of the panel I need to change the state to let it work. Is there something possible in the boot from esphome to retrieve this state?
I have this as code
- platform: homeassistant
id: radio_status_sensor
entity_id: binary_sensor.radio_on
on_state:
then:
- if:
condition:
lambda: 'return id(radio_status_sensor).state == true;'
then:
- lvgl.widget.show: radio_status
else:
- lvgl.widget.hide: radio_status