Hello, my all my KNX covers work with HA but i want to create a button that opens all the covers.
I tested this:
automation:
- trigger:
- platform: state
entity_id: input_button.alle_rollos_auf
action:
- service: cover.open_cover
target:
entity_id: cover.buero_2
...
The button works with a light over KNX
Thank’s
farmio
(Matthias Alphart)
November 29, 2022, 9:24am
2
Hi !
What doesn’t work with that?
If you add multiple entity_ids you’ll have to make a list:
target:
entity_id:
- cover.buero_2
- cover.other
You could also assign a new GA in ETS for that (or a scene) and use a Knx button - that way only 1 telegram would trigger that on the bus, not one per cover.
The cover don’t open with 1 cover in the configuration.
farmio
(Matthias Alphart)
November 29, 2022, 11:07am
4
Aha. Have a look at < Input Button - Home Assistant >
It seems your indentation is wrong a entity_id
. Try to add spaces - it is a subelement of target:
Otherwise have a look at logs or automation debugger.
Oh no! That was the problem.
automation:
- trigger:
- platform: state
entity_id: input_button.alle_rollos_auf
action:
- service: cover.open_cover
target:
entity_id: cover.buero_2
WORKS!