Hello,
I used the component from jaskie and changed from
self.update_ha_state() to self.schedule_update_ha_state().
In the examples the Icon changed depending on the Status.
What I should have to modify or add. Which py function control the Icon Status?
Thanks