Use Graber z-wave remote (came w/Bali blinds) as 2 button remote?

I’ve figured out what to do (after reading “Central Scene” Command Class - Fibaro Swipe, HomeSeer WS-100D Switches):

  1. Stop Home Assistant

  2. edit zwcfg_*.xml - find the node that matches the id assigned to the Bali remote and replace the CommandClass id=“91” section with:

<CommandClass id=“91” name=“COMMAND_CLASS_CENTRAL_SCENE” version=“1” request_flags=“1” innif=“true” scenecount=“0”>
  <Instance index=“1” />
  <Value type=“int” genre=“system” instance=“1” index=“0” label=“Scene Count” units=“” read_only=“true” write_only=“false” verify_changes=“false” poll_intensity=“0” min=“-2147483648” max=“2147483647” value=“0” />
  <Value type=“int” genre=“system” instance=“1” index=“1” label=“Button One” units=“” read_only=“true” write_only=“false” verify_changes=“false” poll_intensity=“0” min=“-2147483648” max=“2147483647” value=“0” />
  <Value type=“int” genre=“system” instance=“1” index=“2” label=“Button Two” units=“” read_only=“true” write_only=“false” verify_changes=“false” poll_intensity=“0” min=“-2147483648” max=“2147483647” value=“0” />
</CommandClass>

  1. create an automation based on the button:

    - alias: Test on
      trigger:
        - platform: event
          event_type: zwave.scene_activated
          event_data:
            entity_id: zwave.bali_remote_1
            scene_id: 1
      action:
        service: homeassistant.turn_on
        entity_id: light.master_bedroom