Schneider Wiser Double Relay for other actions

The Wiser relay is directly connected to the two relays. In many cases you may not find the need for the two relays, but you would like to use the buttons availible on the unit. This is possible with this blueprint, but even when you connect automation the relay will still act on the button press.

Features

  • Upper right button short press
  • Upper left button short press
  • Lower right button short press
  • Lower left button short press

Product id : Wiser Wireless Double Relay 545D6514

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

blueprint:
  name: ZHA Schneider Wiser Wireless Double Relay
  description: Automate Schneider Wiser Wireless Double Relay remote by ZHA events.
  domain: automation
  input:
    schneider_wiser_sw:
      name: Schneider Wiser Wireless Double Relay
      description: Wiser Wireless Double Relay 545D6514
      selector:
        device:
          integration: zha
          manufacturer: Schneider Electric
          model: LK Switch
    button_UL_short_press:
      name: Upper Left  Button single press
      description: Action to run on button upper-left single press
      default: []
      selector:
        action: {}



    button_LL_short_press:
      name: Lower left Button single press   
      description: Action to run on button lower-left single press
      default: []
      selector:
        action: {}

    
    button_UR_short_press:
      name: Upper Right Button single press
      description: Action to run on button upper-right single press
      default: []
      selector:
        action: {}

    button_LR_short_press:
      name: Lower Right Button single press
      description: Action to run on button lower-right single press
      default: []
      selector:
        action: {}

mode: restart
max_exceeded: silent
trigger:
- platform: event
  event_type: zha_event
  event_data:
    device_id: !input 'schneider_wiser_sw'
action:
- variables:
    command: '{{ trigger.event.data.command }}'
    endpoint_id: '{{ trigger.event.data.endpoint_id }}'
    # move_with_on_off
    # move
    args:  '{{ trigger.event.data.args }}'
- choose:
  # Top panel
  - conditions: '{{ command == ''on'' and endpoint_id == 21 }}'
    sequence: !input 'button_UL_short_press'
  - conditions: '{{ command == ''off'' and endpoint_id == 22 }}'  
    sequence: !input 'button_UR_short_press'
# Buttom panel
  - conditions: '{{ command == ''on'' and endpoint_id == 23 }}'
    sequence: !input 'button_LL_short_press'
  - conditions: '{{ command == ''off'' and endpoint_id == 24 }}'  
    sequence: !input 'button_LR_short_press'