Closed tungmeister closed 1 year ago
I've been messing some more and I've got it mostly functional - the switch works and disables/enables as expected. I can't work out how to make the switch appear under the initial device, I've only been able to hack it to appear under a separate *name* game mode
device. I'm also struggling to parse the initial state.
This issue is stale because it has been open 42 days with no activity. Remove stale label or comment or this will be closed in 7 days
@sehaas I'm trying to work out how to add a game mode switch to the integration but unfortunately my knowledge of python is very limited so I'm really struggling. Looking at MQTT explorer I need to send the below for on or off:
to the topic
/remoteapp/tv/platform_service/%s/actions/picturesetting
I can also see the state of game mode is being shown in the sensor as
GameModeEnable
but I really can't work out how to modify the switch.py to include this switch.I've been having a go here but I've no idea how I define the state of the switch based on that
GameModeEnable
value or how I would disable the switch when the projector isn't on (I have a Hisense projector).Could you assist?