How to enable multi tap and dimming on White switch

Edit: I finished the blueprint which can be found here:

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Here’s a good starting point. All you have to do is replace each occurrence of bath_fan with your device name.

I might make this into a blueprint next week if I have time.

alias: Bath Fan Tap Sequences
description: ""
trigger:
  - platform: state
    entity_id:
      - event.bath_fan_up
    not_from:
      - unknown
      - unavailable
    id: up
  - platform: state
    entity_id:
      - event.bath_fan_down
    not_from:
      - unknown
      - unavailable
    id: down
  - platform: state
    entity_id:
      - event.bath_fan_config
    not_from:
      - unknown
      - unavailable
    id: config
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - up
        sequence:
          - choose:
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_up
                    attribute: event_type
                    state: multi_press_1
                sequence: []
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_up
                    attribute: event_type
                    state: multi_press_2
                sequence: []
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_up
                    attribute: event_type
                    state: multi_press_3
                sequence: []
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_up
                    attribute: event_type
                    state: multi_press_4
                sequence: []
      - conditions:
          - condition: trigger
            id:
              - down
        sequence:
          - choose:
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_down
                    attribute: event_type
                    state: multi_press_1
                sequence: []
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_down
                    attribute: event_type
                    state: multi_press_2
                sequence: []
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_down
                    attribute: event_type
                    state: multi_press_3
                sequence: []
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_down
                    attribute: event_type
                    state: multi_press_4
                sequence: []
      - conditions:
          - condition: trigger
            id:
              - config
        sequence:
          - choose:
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_config
                    attribute: event_type
                    state: multi_press_1
                sequence:
                  - action: light.toggle
                    metadata: {}
                    data: {}
                    target:
                      entity_id: light.master_bedroom_ceiling
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_config
                    attribute: event_type
                    state: multi_press_2
                sequence:
                  - action: fan.toggle
                    metadata: {}
                    data: {}
                    target:
                      entity_id: fan.master_bedroom_ceiling
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_config
                    attribute: event_type
                    state: multi_press_3
                sequence: []
              - conditions:
                  - condition: state
                    entity_id: event.bath_fan_config
                    attribute: event_type
                    state: multi_press_4
                sequence: []
mode: restart
4 Likes