Switches are not responding when clicked switches in lovelace. Why am I seeing homeassistant light and switch statuses in tasmota console?
00:55:07 MQT: d1mini01/stat/RESULT = {"POWER1":"ON"}
00:55:07 MQT: d1mini01/stat/POWER1 = ON
00:55:07 MQT: d1mini01/stat/RESULT = {"POWER2":"ON"}
00:55:07 MQT: d1mini01/stat/POWER2 = ON
00:55:07 MQT: d1mini01/stat/RESULT = {"POWER3":"OFF"}
00:55:07 MQT: d1mini01/stat/POWER3 = OFF
00:55:07 MQT: d1mini01/stat/RESULT = {"POWER4":"OFF"}
00:55:07 MQT: d1mini01/stat/POWER4 = OFF
00:55:07 UPP: Multicast (re)joined
00:55:08 MQT: homeassistant/light/8BC504_LI_1/config = (retained)
00:55:08 MQT: homeassistant/switch/8BC504_RL_1/config = {"name":"Bedroom Fan","cmd_t":"~cmnd/POWER1","stat_t":"~tele/STATE","val_tpl":"{{value_json.POWER1}}","pl_off":"OFF","pl_on":"ON","avty_t":"~tele/LWT","pl_avail":"Online","pl_not_avail":"Offline","uniq_id":"8BC504_RL_1","device":{"identifiers":["8BC504"]},"~":"d1mini01/"} (retained)
00:55:08 MQT: homeassistant/light/8BC504_LI_2/config = (retained)
00:55:08 MQT: homeassistant/switch/8BC504_RL_2/config = {"name":"Bedroom Light","cmd_t":"~cmnd/POWER2","stat_t":"~tele/STATE","val_tpl":"{{value_json.POWER2}}","pl_off":"OFF","pl_on":"ON","avty_t":"~tele/LWT","pl_avail":"Online","pl_not_avail":"Offline","uniq_id":"8BC504_RL_2","device":{"identifiers":["8BC504"]},"~":"d1mini01/"} (retained)
00:55:08 MQT: homeassistant/light/8BC504_LI_3/config = (retained)
00:55:08 MQT: homeassistant/switch/8BC504_RL_3/config = {"name":"Bedroom Ceiling lights","cmd_t":"~cmnd/POWER3","stat_t":"~tele/STATE","val_tpl":"{{value_json.POWER3}}","pl_off":"OFF","pl_on":"ON","avty_t":"~tele/LWT","pl_avail":"Online","pl_not_avail":"Offline","uniq_id":"8BC504_RL_3","device":{"identifiers":["8BC504"]},"~":"d1mini01/"} (retained)
00:55:08 MQT: homeassistant/light/8BC504_LI_4/config = (retained)
00:55:08 MQT: homeassistant/switch/8BC504_RL_4/config = {"name":"Bedroom Plug","cmd_t":"~cmnd/POWER4","stat_t":"~tele/STATE","val_tpl":"{{value_json.POWER4}}","pl_off":"OFF","pl_on":"ON","avty_t":"~tele/LWT","pl_avail":"Online","pl_not_avail":"Offline","uniq_id":"8BC504_RL_4","device":{"identifiers":["8BC504"]},"~":"d1mini01/"} (retained)
00:55:08 MQT: homeassistant/light/8BC504_LI_5/config = (retained)
00:55:08 MQT: homeassistant/switch/8BC504_RL_5/config = (retained)
00:55:08 MQT: homeassistant/light/8BC504_LI_6/config = (retained)
00:55:08 MQT: homeassistant/switch/8BC504_RL_6/config = (retained)
00:55:08 MQT: homeassistant/light/8BC504_LI_7/config = (retained)
00:55:08 MQT: homeassistant/switch/8BC504_RL_7/config = (retained)
00:55:08 MQT: homeassistant/light/8BC504_LI_8/config = (retained)
00:55:08 MQT: homeassistant/switch/8BC504_RL_8/config = (retained)
00:55:08 MQT: homeassistant/sensor/8BC504_status/config = {"name":"Bedroom Fan status","stat_t":"~HASS_STATE","avty_t":"~LWT","pl_avail":"Online","pl_not_avail":"Offline","json_attributes_topic":"~HASS_STATE","unit_of_meas":" ","val_tpl":"{{value_json['RSSI']}}","uniq_id":"8BC504_status","device":{"identifiers":["8BC504"],"name":"Bedroom Fan","model":"Generic","sw_version":"6.6.0(release-sonoff)","manufacturer":"Tasmota"},"~":"d1mini01/tele/"} (retained)
00:55:15 MQT: d1mini01/tele/STATE = {"Time":"2019-09-26T00:55:15","Uptime":"0T00:00:22","Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":25,"POWER1":"ON","POWER2":"ON","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"D-Link","BSSId":"92:34:WD:35:73:4A","Channel":8,"RSSI":58,"LinkCount":1,"Downtime":"0T00:00:03"}}
00:55:15 MQT: d1mini01/tele/SENSOR = {"Time":"2019-09-26T00:55:15","Switch1":"ON","Switch2":"ON","Switch3":"ON","Switch4":"ON"}
01:00:05 MQT: d1mini01/tele/HASS_STATE = {"Version":"6.6.0(release-sonoff)","BuildDateTime":"2019-07-06T13:10:20","Core":"2_3_0","SDK":"1.5.3(aec24ac9)","Module":"Generic","RestartReason":"Software/System restart","Uptime":"0T00:05:12","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"BootCount":202,"SaveCount":2693,"IPAddress":"192.168.1.52","RSSI":"56","LoadAvg":19}
01:00:16 MQT: d1mini01/tele/STATE = {"Time":"2019-09-26T01:00:16","Uptime":"0T00:05:23","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","POWER2":"ON","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"D-Link","BSSId":"92:34:WD:35:73:4A","Channel":8,"RSSI":52,"LinkCount":1,"Downtime":"0T00:00:03"}}
01:00:16 MQT: d1mini01/tele/SENSOR = {"Time":"2019-09-26T01:00:16","Switch1":"ON","Switch2":"ON","Switch3":"ON","Switch4":"ON"}
and my Mosquitto log shows this
1569436489: New connection from 192.168.1.52 on port 1883.
[INFO] found mqtt on local database
1569436496: Client Bedroom_panel already connected, closing old connection.
1569436496: New client connected from 192.168.1.52 as Bedroom_panel (p2, c1, k30, u'mqtt').
1569436655: Saving in-memory database to /data/mosquitto.db.
1569438022: Socket error on client Bedroom_panel, disconnecting.
1569438032: New connection from 192.168.1.52 on port 1883.
[INFO] found mqtt on local database
1569438039: New client connected from 192.168.1.52 as Bedroom_panel (p2, c1, k30, u'mqtt').
1569438457: Saving in-memory database to /data/mosquitto.db.
1569439492: Client Bedroom_panel disconnected.
1569439497: New connection from 192.168.1.52 on port 1883.
[INFO] found mqtt on local database
1569439506: New client connected from 192.168.1.52 as Bedroom_control (p2, c1, k30, u'mqtt').
1569440258: Saving in-memory database to /data/mosquitto.db.
tried many things since 3 weeks, but can’t keep this stable. Always disconnecting. Now I can see entities are connected, but not responding when clicked on them and couldn’t call services in Dev tools. Is the Mosquitto add-on buggy? or am I missing something?