Replies: 3 comments 5 replies
-
If using home assistant the setting in on the device info page |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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.
|
Beta Was this translation helpful? Give feedback.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions