Replies: 3 comments 5 replies
|
If using home assistant the setting in on the device info page |
5 replies
|
If you want to set async def async_listen_idleness(self):
"""Listen to messages on MQTT for HASP idleness."""
@callback
async def idle_message_received(msg):
"""Process MQTT message from plate."""
message = HASP_IDLE_SCHEMA(msg.payload)
if message == HASP_IDLE_OFF:
brightness = self._awake_brightness
backlight = 1
elif message == HASP_IDLE_SHORT:
brightness = self._idle_brightness
backlight = 1
elif message == HASP_IDLE_LONG:
brightness = 3
backlight = 1 |
0 replies
|
Rather than hacking custom components on the Home Assistant side (which will get overwritten on an update), use the idle_.cmd files on the plate. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
I'd prefer to have the 'switch' always on, so at least can see that it's a switch and has functions. I can see short and long idle settings, but how do I define what happens at those 'long idle' stages? I'd like to set it to 100% for active, short idle can stay as is, but have long idle or until set, have it stay 'on' at 1%.
Is that possible or a work around to achieve this?
All reactions