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:
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.
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.