-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entity does not go in Off state when turned off #42
Comments
Thank you for reporting. UNKNOWN makes sense, because when the API is not reachable, the TV could be off or on or it could have a different problem. We just do not know the state of the device when the API is not reachable. What are the downsides of having the state UNKNOWN? The UI still shows as playing something? Or can you not turn it on again? The advantages are that should the API have connection issues, the UI goes into unknown instead of off. Maybe @mikicof can add his thoughts. |
Ok, I undestand why it shows Unknown and not Off. |
It should support Wake On LAN/WLAN, but it was always not 100% working reliably. It may be better to display the state OFF, when API is not reachable. |
In my case having the state to OFF when unreachable would break the automations (and for all models PUS7304), it seems that when unknown doesn't make the call to turn on and maybe a better solution would be to make the call independently from the state |
Anyway, @rafuz, check your configuration if you have enabled start with chromecast, in my case wowlan wasn't working until i've enabled that. |
What is start with chromecast? |
I don't have the TV at the moment, I'll send a screenshot when home |
Is it an option of the TV? |
@mikicof Please post the screen :-) |
Thank you for the screen but I can confirm that on my model I don't have this option. |
Ok so for you: Also in your problem is: "In sleep mode the API does not respond." |
Actual state is:
Maybe the state (off or unknown) could be set as a custom config? |
Maybe if the api version is different we could change if to set state unknown or off so it will work for both tv's |
@rafuz I think the best way is to revert the behavior and add a custom config. @mikicof Your suggestion would be perfect, but I think we have not enough data to decide what works for which TV. |
Wake up on cable never worked for me, but this could be related to my network infrastructure. I use wireless bridges in some points of my property and I know that WoL packets cannont cross them. I used the Off state to activate some automation. I can modify them to a "not on" state but it is not the same. |
I actually have the exact same set-up as rafuz, and am using the 'not on' state now as well, but that's not perfect. |
From the latest update on this integration my Philips 32PFS6402/12 does not show "Off" state:
The TV turns off and on from home assistant but when turned off it does show only "unavailable" state. Before it was working correctly.
The text was updated successfully, but these errors were encountered: