Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105895

Write automation listening to knx group address to control shutters (cover)

$
0
0

I wrote an automation (script) to control two shutters by a knx group adress signal
if rolladen_straße.close() command is set (from knx or homassistant ui)
rolladen_straße_T.close() (first shutter) shout be executed, then after 1s
rolladen_straße_N.close() (second shutter should be executed

the script itself works, but not the “trigger”

this is the script:

id: '1642348490881'
  alias: Rolladen Straße (close)
  description: ''
  trigger:
  - platform: state
    entity_id: cover.rolladen_strasse
    to: close
  condition: []
  action:
  - service: cover.close_cover
    target:
      entity_id: cover.rolladen_strasse_t
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
  - service: cover.close_cover
    target:
      entity_id: cover.rolladen_strasse_n
  mode: single
- id: '1642348599922'

Who can help?

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 105895

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>