Philips hue integration for LK Wiser

Hi Home Assistant users,

I live in Denmark where we have a special electrical socket standard that is smaller than the rest of Europe. Therefore the only switches that fit are made by Schneider Electric owned LK.

I have bought their dimmer switch which has a Zigbee integration. The issue is that the switches are not fully zigbee compliant and therefore they can be turned on and dimmed but not turned off with a Philips Hue bridge. The issue is described here: LK Fuga Wiser Wireless Dimmer hands-on | Jacob Laursen's techblog

Is there a way to implement a fix/workaround for this in Home Assistant as has been done in this link (LK Fuga Wiser Wireless Dimmer hands-on | Jacob Laursen's techblog) for OpenHab?

I use Deconz (with Conbee II)

I had to retry many time to pair it (problem I see with other devices) but once added to Deconz it works like any other dimmer switch.

This is my automation for my kitchen

- id: 'Kitchen_Switch'
  alias: 'Kitchen Switch'
  initial_state: 'on'
  mode: queued
  max_exceeded: silent
  trigger:
    - platform: event
      event_type: deconz_event
      event_data:
        id: kitchen_switch
  action:
    - choose:
      # Normal ON dimmed
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.event == 1002 }}"
        sequence:
          - service: scene.turn_on
            entity_id: scene.kitchen_normal
      # Long press full brightness
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.event == 1001 }}"
        sequence:
          - service: light.turn_on
            data:
              entity_id:
                - light.kitchen
              brightness_pct: 100
      # Increase
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.event == 3001 }}"
        sequence:
          - service: deconz.configure
            data:
              entity: light.kitchen
              field: "/action"
              data: {"bri_inc":254, "transitiontime":50}
      # Decrease
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.event == 4001 }}"
        sequence:
          - service: deconz.configure
            data:
              entity: light.kitchen
              field: "/action"
              data: {"bri_inc":-254, "transitiontime":50}
      # Stop increase/decrease 
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.event in ( 3003, 4003 ) }}"
        sequence:
          - service: deconz.configure
            data:
              entity: light.kitchen
              field: "/action"
              data: {"bri_inc":0}
      # Off
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.event == 2002 }}"
        sequence:
          - service: light.turn_off
            data:
              entity_id:
                - light.kitchen

      #default: