Possible to add an action/command/entity to a Z-wave device?

Hi all,

I am currently moving my home from Jeedom to HA and its amazing.
Now I just brought my Z-Wave Fibaro Roller Shutter 3 to my Home Assistant.

In Jeedom I used to add commands to have specific custom defined positions for each shutter (middle-low, middle-high, light-through).
I then have several scenarios using it, and also some physical switch scenes bound to it (2 times up button, 3 times down …).

My question is, how to achieve quite the same in the cleaner way in HA ?
I also didn’t succeeded to have it through Homebridge …
My researches were unsatisfying.

Please help and advices would be really appreciated.

What you want is called scenes. You simply put your device in the desired state then save the scene. You can then activate the scene from your automation by using the scene activate service.

Thank you for your answer, I didn’t try scenes till now but it doesn’t really fit what I need.
I finally go to a script taking arguments to make it.

I have something like that but can’t make it work :

alias: Shutter Position
sequence:
  - action: cover.set_cover_position
    metadata: {}
    data:
      position: 20
    target:
      entity_id: {{shutters}}
fields:
  open_mode:
    selector:
      select:
        options:
          - 20%
          - 40%
        multiple: false
    name: Opening Mode
    required: true
    default: 20%
  shutters:
    selector:
      device:
        multiple: true
    required: true
    name: Shutters(s)
description: ""
icon: mdi:window-shutter-open

I’d like to pass a list of devices or entities (my shutters) and how I want to open it.
It fails on the entity_id param

1 Like