Many thanks for this integration! Years ago, I hacked up the official Epson integration to return the lamp hours, but my version is woefully out of date. So I'm very pleased to have this integration to replace my old one.
I've configured the integration to retrieve the lamp hours as an additional property. However, if the projector is off and HA is restarted, or the integration is reloaded, the lamp hours attribute on the media_player goes away. Since I display it on my UI and use it in automations, I would certainly prefer that not to happen.
Debug log
The sequence here is:
1) Reload the component when the projector is off (06:50:23)
2) Turn the projector on (06:52:26)
3) Reload again (06:53:35)
Version of the custom_component
1.0.0
Describe the bug
Many thanks for this integration! Years ago, I hacked up the official Epson integration to return the lamp hours, but my version is woefully out of date. So I'm very pleased to have this integration to replace my old one.
I've configured the integration to retrieve the lamp hours as an additional property. However, if the projector is off and HA is restarted, or the integration is reloaded, the lamp hours attribute on the media_player goes away. Since I display it on my UI and use it in automations, I would certainly prefer that not to happen.
Debug log
The sequence here is: 1) Reload the component when the projector is off (06:50:23) 2) Turn the projector on (06:52:26) 3) Reload again (06:53:35)