Finally got my Enbrighten fan switch working with my Bond Bridge controlled ceiling fan

After lots of searching and unsuccessful efforts I finally got an automation working that controls the ceiling fan based on a z-wave fan controller. The fan is a remote controlled ceiling fan that I setup to work with my Bond Bridge with entity id:

fan.master_ceiling_fan_bond

It is hard wired as always on. I then have an Enbrighten z-wave fan switch (55258 / ZW4002) that is powered but the output isn’t connected to anything. It is entity id:

fan.master_ceiling_fan_switch

The automation below takes the state of the Enbrighten switch and sets the Bond state to match it.

alias: Control Master Fan from Wall Switch
description: ""
triggers:
  - trigger: state
    entity_id:
      - fan.master_ceiling_fan_switch
    attribute: percentage
conditions: []
actions:
  - action: fan.set_percentage
    metadata: {}
    data:
      percentage: "{{ state_attr('fan.master_ceiling_fan_switch', 'percentage')}}"
    target:
      entity_id: fan.master_ceiling_fan_bond
mode: single
1 Like