TS0043 _TZ3000_famkxci2 Loratap not in entity list Blueprints

I am trying to make an automation with a Loratap 3 button Zigbee switch.
I am using zigbee2mqtt and have paired it. It is in the Devices list, I can see actions coming in (1_single, 1_double, 1_hold, etc.)
The integration has only 2 entities, Battery and Linkquality so nothing for the buttons.
So I searched the Blueprints and found several blueprints for the TS0043. I have tried most of them but the switch is not showing up in the entity or device list.
Also I have tried to make an automation for switching a relais module but no luck:

alias: button 1 → Relais on
description: Switch relais on when button 1 of the TS0043 is pressed
triggers:

  • trigger: mqtt
    options:
    topic: zigbee2mqtt/Switch
    payload: ‘{“action”:“1_single”}’
    conditions:
    actions:
  • target:
    entity_id: switch.relais
    action: switch.turn_on
    mode: single

Who has experience with this switch an can help me to integrate it in HA?

Hello Sandhopper,

Welcome to the Home Assistant Forum!

It probably works with events. If you turn on legacy entities or whatever it’s called you may see more entities. The Z2M documentation will help there or search this forum for legacy Z2M.

Also you are raw-dogging it with the MQTT integration there, Z2M should be helping you do all that.

Is your device here? Zigbee2MQTT

Another thing that helps us help you, would you be so kind as to adjusting the format of your code so that we can read it properly & check the YAML spacing, etc. Editing your original is the preferred way. It is very hard for us to tell what is what when the text formatter jumbles everything like that.
You can use the </> button like this… How to format your code in forum posts
OR… Here is an example of how to fix formatting from the site FAQ Page.
How to help us help you - or How to ask a good question.

Hello Sir_Goodenough,

Thank you for the welcome and your help.
The legacy option didn’t do the trick. Sorry for the wrong format of the yaml, here it is again:

alias: button 1 → Relais on
description: Switch the relais to on when TS0043 button 1 is pressed
triggers:
  - trigger: mqtt
    options:
      topic: zigbee2mqtt/SchakelaarTuinverlichting
      payload: '{"action":"1_single"}'
conditions: []
actions:
  - target:
      entity_id: switch.relais
    action: switch.turn_on
mode: single

1 Like

I can see the action coming in, but how can I use it?

Can somebody help me to make the automation work?

Well, after a lot of digging I found the problem. I also had ZHA installed. As soon as I removed it and restarted, the blueprint works!