The logs from the first 30 seconds won’t even fit on this form! I get this error when trying to paste it…
Body is limited to 32000 characters; you entered 813335.
The logs from the first 30 seconds won’t even fit on this form! I get this error when trying to paste it…
Body is limited to 32000 characters; you entered 813335.
maybe this excerpt will help you:
Part 1:
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] id: shellyswitch25-74052A, mac: 807d3a74052a, fw_ver: 20210909-144331/v1.11.4-DNSfix-ge6b2f6d, model: SHSW-25
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/cover/shellyswitch25-74052A-roller-0/config', 'payload': '', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/cover/shellyswitch25-74052A-roller-0/config
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/switch/shellyswitch25-74052A-relay-0/config', 'payload': '{"name": "Shelly 2.5 74052A Relay 0", "cmd_t": "~relay/0/command", "stat_t": "~relay/0", "pl_off": "off", "pl_on": "on", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-relay-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/switch/shellyswitch25-74052A-relay-0/config {"name": "Shelly 2.5 74052A Relay 0", "cmd_t": "~relay/0/command", "stat_t": "~relay/0", "pl_off": "off", "pl_on": "on", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-relay-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/light/shellyswitch25-74052A-relay-0/config', 'payload': '', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/light/shellyswitch25-74052A-relay-0/config
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/fan/shellyswitch25-74052A-relay-0/config', 'payload': '', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/fan/shellyswitch25-74052A-relay-0/config
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-power-0/config', 'payload': '{"name": "Shelly 2.5 74052A Power 0", "stat_t": "~relay/0/power", "unit_of_meas": "W", "val_tpl": "{{value|float|round(1)}}", "dev_cla": "power", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "False", "uniq_id": "shellyswitch25-74052a-relay-power-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "measurement"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-power-0/config {"name": "Shelly 2.5 74052A Power 0", "stat_t": "~relay/0/power", "unit_of_meas": "W", "val_tpl": "{{value|float|round(1)}}", "dev_cla": "power", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "False", "uniq_id": "shellyswitch25-74052a-relay-power-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "measurement"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-energy-0/config', 'payload': '{"name": "Shelly 2.5 74052A Energy 0", "stat_t": "~relay/0/energy", "unit_of_meas": "kWh", "val_tpl": "{{(value|float/60/1000)|round(2)}}", "dev_cla": "energy", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "False", "uniq_id": "shellyswitch25-74052a-relay-energy-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "total_increasing"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-energy-0/config {"name": "Shelly 2.5 74052A Energy 0", "stat_t": "~relay/0/energy", "unit_of_meas": "kWh", "val_tpl": "{{(value|float/60/1000)|round(2)}}", "dev_cla": "energy", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "False", "uniq_id": "shellyswitch25-74052a-relay-energy-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "total_increasing"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-longpush-0/config', 'payload': '{"name": "Shelly 2.5 74052A Longpush 0", "stat_t": "~input_event/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-longpush-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "off_dly": 2, "val_tpl": "{%if value_json.event==\'L\'%}ON{%else%}OFF{%endif%}"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-longpush-0/config {"name": "Shelly 2.5 74052A Longpush 0", "stat_t": "~input_event/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-longpush-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "off_dly": 2, "val_tpl": "{%if value_json.event=='L'%}ON{%else%}OFF{%endif%}"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-shortpush-0/config', 'payload': '{"name": "Shelly 2.5 74052A Shortpush 0", "stat_t": "~input_event/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-shortpush-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "off_dly": 2, "val_tpl": "{%if value_json.event==\'S\'%}ON{%else%}OFF{%endif%}"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-shortpush-0/config {"name": "Shelly 2.5 74052A Shortpush 0", "stat_t": "~input_event/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-shortpush-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "off_dly": 2, "val_tpl": "{%if value_json.event=='S'%}ON{%else%}OFF{%endif%}"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-overpower-0/config', 'payload': '{"name": "Shelly 2.5 74052A Overpower 0", "stat_t": "~relay/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-overpower-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{%if value==\'overpower\'%}ON{%else%}OFF{%endif%}", "dev_cla": "problem", "json_attr_t": "~relay/0/overpower_value", "json_attr_tpl": "{{{\'overpower_value\':value}|tojson}}"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-overpower-0/config {"name": "Shelly 2.5 74052A Overpower 0", "stat_t": "~relay/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-overpower-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{%if value=='overpower'%}ON{%else%}OFF{%endif%}", "dev_cla": "problem", "json_attr_t": "~relay/0/overpower_value", "json_attr_tpl": "{{{'overpower_value':value}|tojson}}"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/switch/shellyswitch25-74052A-relay-1/config', 'payload': '{"name": "Shelly 2.5 74052A Relay 1", "cmd_t": "~relay/1/command", "stat_t": "~relay/1", "pl_off": "off", "pl_on": "on", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-relay-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/switch/shellyswitch25-74052A-relay-1/config {"name": "Shelly 2.5 74052A Relay 1", "cmd_t": "~relay/1/command", "stat_t": "~relay/1", "pl_off": "off", "pl_on": "on", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-relay-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/light/shellyswitch25-74052A-relay-1/config', 'payload': '', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/light/shellyswitch25-74052A-relay-1/config
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/fan/shellyswitch25-74052A-relay-1/config', 'payload': '', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/fan/shellyswitch25-74052A-relay-1/config
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-power/config', 'payload': '', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-power/config
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-energy/config', 'payload': '', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-energy/config
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-power-1/config', 'payload': '{"name": "Shelly 2.5 74052A Power 1", "stat_t": "~relay/1/power", "unit_of_meas": "W", "val_tpl": "{{value|float|round(1)}}", "dev_cla": "power", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "False", "uniq_id": "shellyswitch25-74052a-relay-power-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "measurement"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-power-1/config {"name": "Shelly 2.5 74052A Power 1", "stat_t": "~relay/1/power", "unit_of_meas": "W", "val_tpl": "{{value|float|round(1)}}", "dev_cla": "power", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "False", "uniq_id": "shellyswitch25-74052a-relay-power-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "measurement"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-energy-1/config', 'payload': '{"name": "Shelly 2.5 74052A Energy 1", "stat_t": "~relay/1/energy", "unit_of_meas": "kWh", "val_tpl": "{{(value|float/60/1000)|round(2)}}", "dev_cla": "energy", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "False", "uniq_id": "shellyswitch25-74052a-relay-energy-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "total_increasing"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-energy-1/config {"name": "Shelly 2.5 74052A Energy 1", "stat_t": "~relay/1/energy", "unit_of_meas": "kWh", "val_tpl": "{{(value|float/60/1000)|round(2)}}", "dev_cla": "energy", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "False", "uniq_id": "shellyswitch25-74052a-relay-energy-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "total_increasing"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-longpush-1/config', 'payload': '{"name": "Shelly 2.5 74052A Longpush 1", "stat_t": "~input_event/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-longpush-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "off_dly": 2, "val_tpl": "{%if value_json.event==\'L\'%}ON{%else%}OFF{%endif%}"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-longpush-1/config {"name": "Shelly 2.5 74052A Longpush 1", "stat_t": "~input_event/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-longpush-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "off_dly": 2, "val_tpl": "{%if value_json.event=='L'%}ON{%else%}OFF{%endif%}"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-shortpush-1/config', 'payload': '{"name": "Shelly 2.5 74052A Shortpush 1", "stat_t": "~input_event/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-shortpush-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "off_dly": 2, "val_tpl": "{%if value_json.event==\'S\'%}ON{%else%}OFF{%endif%}"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-shortpush-1/config {"name": "Shelly 2.5 74052A Shortpush 1", "stat_t": "~input_event/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-shortpush-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "off_dly": 2, "val_tpl": "{%if value_json.event=='S'%}ON{%else%}OFF{%endif%}"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-overpower-1/config', 'payload': '{"name": "Shelly 2.5 74052A Overpower 1", "stat_t": "~relay/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-overpower-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{%if value==\'overpower\'%}ON{%else%}OFF{%endif%}", "dev_cla": "problem", "json_attr_t": "~relay/1/overpower_value", "json_attr_tpl": "{{{\'overpower_value\':value}|tojson}}"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-overpower-1/config {"name": "Shelly 2.5 74052A Overpower 1", "stat_t": "~relay/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-74052a-overpower-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{%if value=='overpower'%}ON{%else%}OFF{%endif%}", "dev_cla": "problem", "json_attr_t": "~relay/1/overpower_value", "json_attr_tpl": "{{{'overpower_value':value}|tojson}}"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-temperature/config', 'payload': '{"name": "Shelly 2.5 74052A Temperature", "stat_t": "~temperature", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-74052a-temperature", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "measurement", "unit_of_meas": "°C", "dev_cla": "temperature", "val_tpl": "{%if value!=999%}{{value|float|round(1)}}{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-temperature/config {"name": "Shelly 2.5 74052A Temperature", "stat_t": "~temperature", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-74052a-temperature", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "measurement", "unit_of_meas": "°C", "dev_cla": "temperature", "val_tpl": "{%if value!=999%}{{value|float|round(1)}}{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-rssi/config', 'payload': '{"name": "Shelly 2.5 74052A RSSI", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-74052a-rssi", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "unit_of_meas": "dBm", "dev_cla": "signal_strength", "val_tpl": "{{value_json[\'wifi_sta\'].rssi}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-rssi/config {"name": "Shelly 2.5 74052A RSSI", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-74052a-rssi", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "unit_of_meas": "dBm", "dev_cla": "signal_strength", "val_tpl": "{{value_json['wifi_sta'].rssi}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-ssid/config', 'payload': '{"name": "Shelly 2.5 74052A SSID", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-74052a-ssid", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{{value_json[\'wifi_sta\'].ssid}}", "icon": "mdi:wifi", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-ssid/config {"name": "Shelly 2.5 74052A SSID", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-74052a-ssid", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{{value_json['wifi_sta'].ssid}}", "icon": "mdi:wifi", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-uptime/config', 'payload': '{"name": "Shelly 2.5 74052A Uptime", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-74052a-uptime", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "dev_cla": "timestamp", "val_tpl": "{{(as_timestamp(now())-value_json.uptime)|timestamp_local}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
Part 2
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-uptime/config {"name": "Shelly 2.5 74052A Uptime", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-74052a-uptime", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "dev_cla": "timestamp", "val_tpl": "{{(as_timestamp(now())-value_json.uptime)|timestamp_local}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-ip/config', 'payload': '{"name": "Shelly 2.5 74052A IP", "stat_t": "~announce", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-74052a-ip", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{{value_json.ip}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-ip/config {"name": "Shelly 2.5 74052A IP", "stat_t": "~announce", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-74052a-ip", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{{value_json.ip}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-temperature_status/config', 'payload': '{"name": "Shelly 2.5 74052A Temperature_Status", "stat_t": "~temperature_status", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-74052a-temperature_status", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{{value|lower}}", "icon": "mdi:thermometer", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-temperature_status/config {"name": "Shelly 2.5 74052A Temperature_Status", "stat_t": "~temperature_status", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-74052a-temperature_status", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{{value|lower}}", "icon": "mdi:thermometer", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-voltage/config', 'payload': '{"name": "Shelly 2.5 74052A Voltage", "stat_t": "~voltage", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-74052a-voltage", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "measurement", "unit_of_meas": "V", "dev_cla": "voltage", "val_tpl": "{{value|float|round(1)}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-voltage/config {"name": "Shelly 2.5 74052A Voltage", "stat_t": "~voltage", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-74052a-voltage", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "stat_cla": "measurement", "unit_of_meas": "V", "dev_cla": "voltage", "val_tpl": "{{value|float|round(1)}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-74052A-temperarure_status/config', 'payload': '', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-74052A-temperarure_status/config
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-74052A-input-0/button_release/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input/0", "pl": "0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_1"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-74052A-input-0/button_release/config {"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input/0", "pl": "0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_1"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-74052A-input-0/button_long_press/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input_event/0", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_1"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-74052A-input-0/button_long_press/config {"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input_event/0", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_1"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-74052A-input-0/button_short_press/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input_event/0", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_1"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-74052A-input-0/button_short_press/config {"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input_event/0", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_1"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-74052A-input-1/button_release/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input/1", "pl": "0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_2"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-74052A-input-1/button_release/config {"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input/1", "pl": "0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_2"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-74052A-input-1/button_long_press/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input_event/1", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_2"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-74052A-input-1/button_long_press/config {"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input_event/1", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_2"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-74052A-input-1/button_short_press/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input_event/1", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_2"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-74052A-input-1/button_short_press/config {"atype": "trigger", "t": "shellies/shellyswitch25-74052A/input_event/1", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_2"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-overtemperature/config', 'payload': '{"name": "Shelly 2.5 74052A Overtemperature", "stat_t": "~overtemperature", "en": "True", "uniq_id": "shellyswitch25-74052a-overtemperature", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev_cla": "problem"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-overtemperature/config {"name": "Shelly 2.5 74052A Overtemperature", "stat_t": "~overtemperature", "en": "True", "uniq_id": "shellyswitch25-74052a-overtemperature", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev_cla": "problem"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-firmware-update/config', 'payload': '{"name": "Shelly 2.5 74052A Firmware Update", "stat_t": "~info", "en": "True", "uniq_id": "shellyswitch25-74052a-firmware-update", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{%if value_json[\'update\'].has_update==true%}ON{%else%}OFF{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev_cla": "update", "json_attr_t": "~info", "json_attr_tpl": "{{value_json[\'update\']|tojson}}"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-firmware-update/config {"name": "Shelly 2.5 74052A Firmware Update", "stat_t": "~info", "en": "True", "uniq_id": "shellyswitch25-74052a-firmware-update", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "val_tpl": "{%if value_json['update'].has_update==true%}ON{%else%}OFF{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev_cla": "update", "json_attr_t": "~info", "json_attr_tpl": "{{value_json['update']|tojson}}"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-input-0/config', 'payload': '{"name": "Shelly 2.5 74052A Input 0", "stat_t": "~input/0", "en": "False", "uniq_id": "shellyswitch25-74052a-input-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-input-0/config {"name": "Shelly 2.5 74052A Input 0", "stat_t": "~input/0", "en": "False", "uniq_id": "shellyswitch25-74052a-input-0", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-74052A-input-1/config', 'payload': '{"name": "Shelly 2.5 74052A Input 1", "stat_t": "~input/1", "en": "False", "uniq_id": "shellyswitch25-74052a-input-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-10-18 22:19:20 DEBUG (SyncWorker_4) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-74052A-input-1/config {"name": "Shelly 2.5 74052A Input 1", "stat_t": "~input/1", "en": "False", "uniq_id": "shellyswitch25-74052a-input-1", "qos": 0, "dev": {"ids": ["807d3a74052a"], "name": "Shelly 2.5 74052A", "mdl": "Shelly 2.5", "sw": "20210909-144331/v1.11.4-DNSfix-ge6b2f6d", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-74052A/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-10-18 22:19:20 INFO (MainThread) [homeassistant.components.automation.shellies_discovery] Shellies Discovery: Running automation actions
2021-10-18 22:19:20 INFO (MainThread) [homeassistant.components.automation.shellies_discovery] Shellies Discovery: Executing step call service
Please be careful to paste text walls like these that takes ages to scroll past. It really hampers one when reading the forum via mobile. Rather put logs in code blocks.
Please use code block for the log. For example you can use ``` in the line before and the line after the log.
Does the device shellyswitch25-74052A
should use cover entity?
Yes, that device is in roller mode.
Sorry about that, I’ll edit the post now
Do you have mode
in the shellies_discovery
automation?
You are correct! that line was missing, I have no idea how I missed that, as I copy pasted the configuration from the github documentation yesterday… Anyway, thank you so much for figuring this one out!
thats because the line is missing on top of this thread. Maybe you copied these lines instead of github.
Had the same issue yesterday.
@Bieniu could you update the code in this thread?
Ops, I didn’t notice this, fixed.
hi!
I have a shelly H&T configured using MQTT and using this script in HA.
I have HA restart every 4h (some integration will stop working after some time).
shelly H&T entity is often unavailable, although generally after some minutes (10-30m) it is reported back to its correct value.
So far I’ve:
Still the entity is unavailable every now and then…
Do you Guys have any suggestion on what I should try?
Thanks
Hi,
I am using this Discovery Script to add my shellys to my HA. I am using the cusom MQTT prefix option in my shellys. So the name in MQTT Explorer is displayed like the prefix. But in HA the model of Shelly is put in front of this name. I took a Screenshot of some Shellys
Is it possible to only have the name and not the model in HA?
I can’t get light temperature on my Shelly Duo RGBW to work from Home assistant with this script. I can send topics to it, and everything in terms of the RGB functionality works, but when adjusting the Colour brightness and the White brightness, nothing happens. Am I missing something?
From the Shelly webui, there is 2 modes, White, and Color, is there a way to simulate this with mqtt/this script?
Thanks @Bieniu
this one is missing on this page. Only found it on github!
Additional Question. Is it possible to have the same large and lower cases in the device name like in the mqtt topic? Since I set the “ignore_device_model” my device names look like this:
Yes, you have to manually rename the devices.
Take a look at this issue Shelly colorbulb does not set proper white feature · Issue #146 · bieniu/ha-shellies-discovery · GitHub
I don’t have any RGB Shelly device so I’m uable to fix this.
Thanks will look into it and report back!