Closed Kaahbal closed 6 years ago
Sorry to jump in but I think that we need a turn on/off button at first
Let us leave it for now unless someone wishes to implement it. As for the WOL switch I would suggest making a simple SWITCH tile next to it as implementing custom logic for it would be kind of unnatural.
well that works for turning it on, but turn off becomes a dummy basicly and does nothing.
You can create a template switch in HA that has different tun_on and turn_off actions.
I know, still need to shut done media_player through a curl or so.
I've implemented the ability to turn media_player on and off and also made a few changes to back, forward, play and mute buttons. Those will now be hidden if player if off.
I've added checks to see if player supports certain features. Could you please confirm turning player on and off works fine for you?
In a car atm, will post resultat later tonight when i can.
Power buttons show for LGTV (still need to be able to bind turn_on to run script tho, see OP). Power-Off works just fine. WOW!
Good! I'm happy we had it sorted.
For my TV i use a command called Turn_on_action which basicly launches a WOL script i wrote.
Can this field be implemented into a media_player as optional?
Cheers