Scholmore click smart Scenario switch CSPGM2075

I have came across these. They are Tuya based

https://click-smart.com/products/wireless-smart-switch
CSPGM2075

They seem to be very good for blending into UK style switches
I managed to get them to work and I have a blueprint for it.
They fit into a grid so are very customisable

I found a blueprint for a Tuya switch and modified it

I dont know how to add a link so Im just going to share it as text

blueprint:
  name: ZHA - Click Smart Grid Pro Scenario Switch
  description: Automate your Grid Pro 2 Button Scene Switch using ZHA events.
  domain: automation
  input:
    click_2button_scene_switch:
      name: Scenario Switch
      description: Click Smart Grid Pro Scenario Switch
      selector:
        device:
          integration: zha
          model: TS0042
          multiple: false
    button_one_short_press:
      name: Single Press
      description: Action to run on button 1 (Top) single press
      default: []
      selector:
        action: {}
    button_one_double_press:
      name: Double Press
      description: Action to run on button 1 (Top) double press
      default: []
      selector:
        action: {}
    button_one_long_press:
      name: Long press
      description: Action to run on button 1 (Top) long press
      default: []
      selector:
        action: {}
    button_two_short_press:
      name: Single Press
      description: Action to run on button 2 (Bottom) single press
      default: []
      selector:
        action: {}
    button_two_double_press:
      name: Double Press
      description: Action to run on button 2 (Bottom) double press
      default: []
      selector:
        action: {}
    button_two_long_press:
      name: Long press
      description: Action to run on button 2 (Bottom) long press
      default: []
      selector:
        action: {}
mode: restart
max_exceeded: silent
trigger:
- platform: event
  event_type: zha_event
  event_data:
    device_id: !input click_2button_scene_switch
action:
- variables:
    command: '{{ trigger.event.data.command }}'
    endpoint_id: '{{ trigger.event.data.endpoint_id }}'
- choose:
  - conditions: '{{ command == ''remote_button_short_press'' }}'
    sequence:
    - choose:
      - conditions: '{{ endpoint_id == 1 }}'
        sequence: !input button_one_short_press
      - conditions: '{{ endpoint_id == 2 }}'
        sequence: !input button_two_short_press
  - conditions: '{{ command == ''remote_button_double_press'' }}'
    sequence:
    - choose:
      - conditions: '{{ endpoint_id == 1 }}'
        sequence: !input button_one_double_press
      - conditions: '{{ endpoint_id == 2 }}'
        sequence: !input button_two_double_press
  - conditions: '{{ command == ''remote_button_long_press'' }}'
    sequence:
    - choose:
      - conditions: '{{ endpoint_id == 1 }}'
        sequence: !input button_one_long_press
      - conditions: '{{ endpoint_id == 2 }}'
        sequence: !input button_two_long_press


Here is the URL to create a link:
Create a link – My Home Assistant.

Use the URL for this topic:
https://community.home-assistant.io/t/scholmore-click-smart-scenario-switch-cspgm2075/707747