Lumi.remote.b1acn01 not showing any actions or switch

I have an Aqara zigbee wireless switch and I’ve paired it with HA using ZHA. The device doesn’t show up any switches or any way of controlling the button?

Anyone else had this issue?
thanks

It will not show any, only as zigbee events. The easy way is to find a blueprint.

Remember to find a blueprint which is working with you setup, the same blueprint will not work for both ZHA or Zigbee2mqtt

I tried one of the blueprints, but get “No matching devices found” in the drop-down. Which brought me to the conclusion I was missing something.

Try the one called “ZHA - Aqara Wireless Mini Switch” I was using this until 1 month ago, then I moved to Z2M.
Is you device there, showing battery level?

I found this one ZHA - Aqara Wireless Mini Switch

Tested and works. Shows up with the button.

Thanks for the help.

How are you doing this in Z2M?

Found it:

Use this one. The other one is a combined blueprint for a lot of different buttons. I do not use the big one, only the one targeted for the mini switch

Thanks, but this one is for ZHA, I need it for Z2M.

Sorry, the one I use is this one,

blueprint:
  name: Zigbee2mqtt Aqara mini switch
  description: Zigbee2mqtt Aqara mini switch (1 Button)
  domain: automation
  input:
    action_sensor:
      name: Action Sensor
      description: Zigbee2mqtt action sensor
      selector:
        entity:
          integration: mqtt
          domain: sensor
    single_action:
      name: Single Click
      description: Single click for devices with one button
      default: []
      selector:
        action: {}
    double_action:
      name: Double Click
      description: Double click for devices with one button
      default: []
      selector:
        action: {}
    hold_action:
      name: Hold Action
      default: []
      selector:
        action: {}
    release_action:
      name: Release Action
      default: []
      selector:
        action: {}
mode: parallel
max_exceeded: silent
trigger:
  platform: state
  entity_id: !input 'action_sensor'
  attribute: action
  to:
    - 'single'
    - 'double'
    - 'hold'
    - 'release'
action:
- variables:
    command: '{{ trigger.to_state.attributes.action }}'
- choose:
  - conditions: '{{ command == ''single'' }}'
    sequence: !input 'single_action'
  - conditions: '{{ command == ''double'' }}'
    sequence: !input 'double_action'
  - conditions: '{{ command == ''hold'' }}'
    sequence: !input 'hold_action'
  - conditions: '{{ command == ''release'' }}'
    sequence: !input 'release_action'


1 Like

But why? previewsly actions were there :frowning: .

Sorry, what is the issue, what’s not working. It is a 2 year old post you reply.

No worries. The issue was as described in the post title, but after a restart or smth it appeared again. Thanks!