Sian-Lee-SA / Home-Assistant-Switch-Manager

Switch manager is a centralised component to handle button pushes for your wireless switches. This includes anything passed through the event bus. The component relies on switch blueprints which is easily made to allow GUI configuration of your switches and their button pushes. This helps remove clutter from the automations.
Other
222 stars 84 forks source link

New device submission ZHA Moes Star Ring 2 gang remote #182

Closed gorstj closed 9 months ago

gorstj commented 10 months ago

Is it possible to submit a new device for consideration of inclusion in the plugin please:

Image: zha-moes-star_ring_2g

zha-moes-star_ring_2g.yaml

name: Moes Star Ring Scene 2g
service: ZHA
event_type: zha_event
identifier_key: device_id
buttons:
  - x: 310
    y: 220
    width: 32
    conditions:
      - key: endpoint_id
        value: 1
    actions:
      - title: press
        conditions:
          - key: command
            value: remote_button_short_press
      - title: press 2x
        conditions:
          - key: command
            value: remote_button_double_press
      - title: hold
        conditions:
          - key: command
            value: remote_button_long_press
  - x: 535
    y: 220
    width: 32
    conditions:
      - key: endpoint_id
        value: 2
    actions:
      - title: press
        conditions:
          - key: command
            value: remote_button_short_press
      - title: press 2x
        conditions:
          - key: command
            value: remote_button_double_press
      - title: hold
        conditions:
          - key: command
            value: remote_button_long_press
  - x: 310
    y: 635
    width: 32
    conditions:
      - key: endpoint_id
        value: 3
    actions:
      - title: press
        conditions:
          - key: command
            value: remote_button_short_press
      - title: press 2x
        conditions:
          - key: command
            value: remote_button_double_press
      - title: hold
        conditions:
          - key: command
            value: remote_button_long_press
  - x: 535
    y: 635
    width: 32
    conditions:
      - key: endpoint_id
        value: 4
    actions:
      - title: press
        conditions:
          - key: command
            value: remote_button_short_press
      - title: press 2x
        conditions:
          - key: command
            value: remote_button_double_press
      - title: hold
        conditions:
          - key: command
            value: remote_button_long_press
Sian-Lee-SA commented 9 months ago

Please create a PR if you would like to include your blueprint into the repo, thanks.