From 06f8ce2587df4997dc28281d000107f36bed1dbd Mon Sep 17 00:00:00 2001 From: Bastian Schnorbus Date: Wed, 21 May 2025 18:58:41 +0200 Subject: [PATCH] adding docu link --- pyscript/hmip_wrc6_joel.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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}")