adding docu link
This commit is contained in:
@@ -7,6 +7,12 @@
|
|||||||
# 'channel': 3
|
# '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
|
TASTER_ID_JOEL = "000B5D898D535E" # Replace with your actual Taster ID
|
||||||
ROLLO_ID_JOEL = "cover.00115a498e0439" # Replace with your actual Rollo ID
|
ROLLO_ID_JOEL = "cover.00115a498e0439" # Replace with your actual Rollo ID
|
||||||
@@ -85,7 +91,7 @@ def taster(**payload):
|
|||||||
elif channel_no == 6:
|
elif channel_no == 6:
|
||||||
log.info("Channel 6 action")
|
log.info("Channel 6 action")
|
||||||
cover.set_cover_position(entity_id=ROLLO_ID_JOEL, position=POSITION_DOWN)
|
cover.set_cover_position(entity_id=ROLLO_ID_JOEL, position=POSITION_DOWN)
|
||||||
|
|
||||||
|
|
||||||
log.info(f"taster: {payload}")
|
log.info(f"taster: {payload}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user