I try do configure autodiscovery of my LCN devices.
When I send the following message to MQTT it doesn’t work.
I mean I could see light switch on UI and could set it on/of but I see no messages on command topic.
topic: homeassistant/light/parents_bedroom_main/config
{"name":"Sypialnia rodziców","command_topic":"home/domiq/parents_bedroom_main/command","state_topic":"home/domiq/parents_bedroom_main/state","availability_topic":"home/domiq/parents_bedroom_main/available","unique_id":"LCN.output.0.120.1"}
When I configure the same topics manually in configuration.yaml - everything works OK. There are messages on command topic.
What’s wrong with this config ?
Wojtek