@Vorta wrote:
I’ve got a few Tasmota devices which I want to add to Home Assistant. I tried auto discovery but making changes to those devices or even removing them was very difficult. So I’ve decided to configure them manually.
I’ve got a following config for the switch:
switch bathroom_socket_switch_1: - platform: mqtt name: "Bathroom Socket Switch 1" icon: "mdi:power" state_topic: "tasmota/bathroom/stat/POWER1" command_topic: "tasmota/bathroom/cmnd/POWER1" availability_topic: "tasmota/bathroom/tele/LWT" qos: 1 payload_on: "ON" payload_off: "OFF" payload_available: "Online" payload_not_available: "Offline" retain: true
The switch gets added in Home Assistant and can be toggled, however if I go to Configuration > Entites and try to open the switch, this is what I get:
I had the same problem with MQTT sensors - “This entity does not have a unique ID”, but I’ve solved that by adding
unique_id
in their config. Switches do not supportunique_id
so I’m at loss. What are my options to fix this or is this supposed to be like that?
Posts: 3
Participants: 2