diff --git a/pyscript/hmip_wrc6_joel.py b/pyscript/hmip_wrc6_joel.py index 1e88ceb..498f3c8 100644 --- a/pyscript/hmip_wrc6_joel.py +++ b/pyscript/hmip_wrc6_joel.py @@ -7,6 +7,12 @@ # 'channel': 3 # } +""" +This script is designed to work with a Home Assistant setup using the Homematic IP WRC6 remote control. +It listens for keypress events from the remote and performs actions based on the key pressed and the type of press (short or long). + +Documentation https://hacs-pyscript.readthedocs.io/en/latest/overview.html +""" TASTER_ID_JOEL = "000B5D898D535E" # Replace with your actual Taster ID ROLLO_ID_JOEL = "cover.00115a498e0439" # Replace with your actual Rollo ID @@ -85,7 +91,7 @@ def taster(**payload): elif channel_no == 6: log.info("Channel 6 action") cover.set_cover_position(entity_id=ROLLO_ID_JOEL, position=POSITION_DOWN) - + log.info(f"taster: {payload}")