Moes Smart Knob Lights Control

Hi,

I have a Moes smart knob (the black and grey one), and the ZHA event doesn’t have the parameters you use in your blueprint, which seems necessarry to implement double and long press actions.
I only get:

event:
    event_type: zha_event
    data:
      endpoint_id: 1
      cluster_id: 6
      command: toggle
      args: []
      params: {}

How did you get press_type and the other parameters ? Is it because you use a different knob ? Or did I miss something ?

Thanks for the help !

Developer Tools => Listen to events ‘zha_event’

Triple click the knob - it changes between two modes on the device. In the other mode it shows all the correct parameters.

My unit spits out different values, I guess they changed some things.
I built a macro to extract the values, so I don’t need the blueprint.
If anyone wants the macro, it’s here:

Great blueprint thank you - just a note if you want to add double click one way is to use the wait_for_trigger method (How to do single AND double click on a switch in automation - #5 by kaninfod)… but I had to ‘take over’ the automation and change the mode to single at the top of the YAML. Duplicate the automation before ‘taking over’, just in case.