I’m currently using Shelly 2PM GEN4 switches to control roller shutters (shutters will be installed in a couple of weeks).
I’m using both connection possibilities: through WiFi as well as Zigbee (using Z2M).
To be sure that I’m always able to communicate with the devices, I’ve added both WiFi as well as Zigbee access to my automation rules, like so:
actions:
- choose:
- conditions:
- condition: trigger
id:
- id_knop_up
sequence:
- action: cover.open_cover
metadata: {}
target:
entity_id: cover.shelly_01_rolluik_keuken
data: {}
- action: light.turn_on
metadata: {}
target:
entity_id: light.kleurlamp_bureau
data:
rgb_color:
- 255
- 0
- 0
- action: cover.open_cover
metadata: {}
target:
entity_id: cover.rolluik_01_zigbee
data: {}
As you can see, there are two cover.open_cover actions: one with WiFi (cover.shelly_01_rolluik_keuken) and one with Zigbee (cover.rolluik_01_zigbee).
Is this good practise to do it like this or can this cause a “fight” between the two protocols?
Best,
–Geert