Giter VIP home page Giter VIP logo

Comments (17)

bieniu avatar bieniu commented on September 22, 2024 1

Wake up the device once again and the entities become available.

from ha-shellies-discovery.

EDIflyer avatar EDIflyer commented on September 22, 2024 1

Spot on, thanks so much for your help!

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 22, 2024

Show me please the payload of ht-living_room/announce topic.

from ha-shellies-discovery.

EDIflyer avatar EDIflyer commented on September 22, 2024

Show me please the payload of ht-living_room/announce topic.

Sure, it's

{"id":"ht-living_room","model":"SHHT-1","mac":"E8DB84ACD93D","ip":"192.168.1.16","new_fw":false,"fw_ver":"20221027-092707/v1.12.1-ga9117d3"}

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 22, 2024

Please add this to your configuration.yaml file:

logger:
  default: error
  logs:
    homeassistant.components.python_script: debug
    homeassistant.components.automation: info

restart HA, push button on your HT devices, wait a few minutes, catch a log and attach it here.

from ha-shellies-discovery.

EDIflyer avatar EDIflyer commented on September 22, 2024

I'd already added those bits of my config:
image

I've restarted and hit the button on the HT device.
I've checked in MQTT Explorer and can see the message has come across OK to it.
I can't see anything in the logs though?

2023-01-02 18:57:43.901 ERROR (SyncWorker_2) [homeassistant.components.influxdb] InfluxDB database is not accessible due to '404: {"error":"database not found: \"home_assistant_raw\""}'. Please check that the database, username and password are correct and that the specified user has the correct permissions set. Retrying in 60 seconds.
2023-01-02 18:57:45.362 DEBUG (MainThread) [custom_components.hildebrandglow_dcc] Successful Post to https://api.glowmarkt.com/api/v0-1/auth
2023-01-02 18:57:45.859 WARNING (MainThread) [homeassistant.config_entries] Config entry 'EPSON WF-3520 Series' for ipp integration not ready yet: Invalid response from API: Error occurred while communicating with IPP server.; Retrying in background
2023-01-02 18:57:46.145 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/virtualentity
2023-01-02 18:57:47.839 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/virtualentity/570a5b19-dfc7-4c79-b994-4f7e73d5de9b/resources
2023-01-02 18:57:48.063 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/d9212d57-2584-4d7f-ac35-4dfaf2ff4242/tariff
2023-01-02 18:57:48.064 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Finished fetching tariff data in 0.224 seconds (success: True)
2023-01-02 18:57:48.172 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/f669e6c9-1690-4936-b645-d47c2ef9fc2f/tariff
2023-01-02 18:57:48.172 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Finished fetching tariff data in 0.108 seconds (success: True)
2023-01-02 18:57:48.242 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/virtualentity/9cc5ec06-b0f1-459a-96af-e3545b357151/resources
2023-01-02 18:57:48.334 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/846ce0b5-7e7e-4df2-8a87-b5338d83cae6/tariff
2023-01-02 18:57:48.335 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Finished fetching tariff data in 0.092 seconds (success: True)
2023-01-02 18:57:48.429 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Finished fetching tariff data in 0.000 seconds (success: True)
2023-01-02 18:57:48.433 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Finished fetching tariff data in 0.000 seconds (success: True)
2023-01-02 18:57:48.439 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Finished fetching tariff data in 0.000 seconds (success: True)
2023-01-02 18:57:49.487 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/d9212d57-2584-4d7f-ac35-4dfaf2ff4242/catchup
2023-01-02 18:57:49.505 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/28e1f485-8119-4fb5-9b06-c0be1c3d5974/catchup
2023-01-02 18:57:49.509 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/04a2e381-a533-433c-8954-50183b7083b4/catchup
2023-01-02 18:57:49.509 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/f669e6c9-1690-4936-b645-d47c2ef9fc2f/catchup
2023-01-02 18:57:49.509 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/bac9dfc2-5ebf-4017-962b-6a2b8d6e9d4f/catchup
2023-01-02 18:57:49.510 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/846ce0b5-7e7e-4df2-8a87-b5338d83cae6/catchup
2023-01-02 18:57:49.748 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id d9212d57-2584-4d7f-ac35-4dfaf2ff4242
2023-01-02 18:57:49.760 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id 28e1f485-8119-4fb5-9b06-c0be1c3d5974
2023-01-02 18:57:49.760 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id 846ce0b5-7e7e-4df2-8a87-b5338d83cae6
2023-01-02 18:57:49.760 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id f669e6c9-1690-4936-b645-d47c2ef9fc2f
2023-01-02 18:57:49.761 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id 04a2e381-a533-433c-8954-50183b7083b4
2023-01-02 18:57:49.792 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id bac9dfc2-5ebf-4017-962b-6a2b8d6e9d4f
2023-01-02 18:58:07.167 WARNING (MainThread) [deebot_client.commands.common] Command "getPos" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:07.189 WARNING (MainThread) [deebot_client.commands.common] Command "getStats" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:07.193 WARNING (MainThread) [deebot_client.commands.common] Command "getChargeState" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:22.247 WARNING (MainThread) [deebot_client.commands.common] Command "getCachedMapInfo" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:22.258 WARNING (MainThread) [deebot_client.commands.common] Command "getCleanInfo" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:22.262 WARNING (MainThread) [deebot_client.commands.common] Command "getMapTrace" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:37.292 WARNING (MainThread) [deebot_client.commands.common] Command "getMajorMap" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:37.307 WARNING (MainThread) [deebot_client.commands.common] Command "getBattery" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:37.722 WARNING (MainThread) [deebot_client.commands.common] Command "getError" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:44.635 ERROR (SyncWorker_0) [homeassistant.components.influxdb] InfluxDB database is not accessible due to '404: {"error":"database not found: \"home_assistant_raw\""}'. Please check that the database, username and password are correct and that the specified user has the correct permissions set. Retrying in 60 seconds.
2023-01-02 18:58:52.331 WARNING (MainThread) [deebot_client.commands.common] Command "getSpeed" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:58:52.349 WARNING (MainThread) [deebot_client.commands.common] Command "getCachedMapInfo" was not successfully: {'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-01-02 18:59:44.659 ERROR (SyncWorker_6) [homeassistant.components.influxdb] InfluxDB database is not accessible due to '404: {"error":"database not found: \"home_assistant_raw\""}'. Please check that the database, username and password are correct and that the specified user has the correct permissions set. Retrying in 60 seconds.
2023-01-02 19:00:44.673 ERROR (SyncWorker_4) [homeassistant.components.influxdb] InfluxDB database is not accessible due to '404: {"error":"database not found: \"home_assistant_raw\""}'. Please check that the database, username and password are correct and that the specified user has the correct permissions set. Retrying in 60 seconds.
2023-01-02 19:01:44.715 ERROR (SyncWorker_3) [homeassistant.components.influxdb] InfluxDB database is not accessible due to '404: {"error":"database not found: \"home_assistant_raw\""}'. Please check that the database, username and password are correct and that the specified user has the correct permissions set. Retrying in 60 seconds.

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 22, 2024

There is nothing in the log related to python_script.

from ha-shellies-discovery.

EDIflyer avatar EDIflyer commented on September 22, 2024

There is nothing in the log related to python_script.

Indeed - that's what I noticed too - I don't understand why not though as presumably with debug it should have done something?

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 22, 2024

Change logger configuration to

logger:
  default: error
  logs:
    homeassistant.components.python_script: debug
    homeassistant.components.automation: info
    homeassistant.components.mqtt: info

restart HA and catch the log once again. Please attach the log file.

from ha-shellies-discovery.

EDIflyer avatar EDIflyer commented on September 22, 2024

Done - please find attached!

home-assistant_2023-01-02T19-33-43.966Z.log

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 22, 2024

No info about python_script and shellies_discovery automation. Is this the entire log file?

from ha-shellies-discovery.

EDIflyer avatar EDIflyer commented on September 22, 2024

No info about python_script and shellies_discovery automation. Is this the entire log file?

Yep, I gave it a couple of minutes after restarting HA then downloaded it 🙁

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 22, 2024

It seems to me that shellies discovery automations don’t work at all. Maybe they are disabled?

from ha-shellies-discovery.

EDIflyer avatar EDIflyer commented on September 22, 2024

Hmm, is there a way to check or re-enable them if they are disabled?

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 22, 2024

Settings -> Automations

from ha-shellies-discovery.

EDIflyer avatar EDIflyer commented on September 22, 2024

Ooh, progress! For some reason they were showing as disabled last month! Not sure I'd it was related to the change to MQTT in HA?! I've pressed the button and now showing up, but with no data...

Screenshot_20230102-200240.png

Much more in the log too!

2023-01-02 20:01:09.187 INFO (MainThread) [homeassistant.components.automation.shellies_announce] Initialized trigger Shellies Announce
2023-01-02 20:01:11.999 INFO (MainThread) [homeassistant.components.automation.shellies_discovery] Shellies Discovery: Running automation actions
2023-01-02 20:01:12.000 INFO (MainThread) [homeassistant.components.automation.shellies_discovery] Shellies Discovery: Executing step call service
2023-01-02 20:01:12.006 INFO (MainThread) [homeassistant.components.automation.shellies_discovery] Initialized trigger Shellies Discovery
2023-01-02 20:01:12.601 INFO (SyncWorker_2) [homeassistant.components.python_script] Executing shellies_discovery.py: {'id': '1pm-study', 'mac': 'E8DB84D7DF61', 'fw_ver': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'model': 'SHSW-PM', 'mode': '', 'host': '192.168.1.19'}
2023-01-02 20:01:12.602 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] id: 1pm-study, mac: e8db84d7df61, fw_ver: 20221108-153925/v1.12.1-1PM-fix-g2821131, model: SHSW-PM
2023-01-02 20:01:12.603 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/button/1pm-study-restart/config', 'payload': '{"name": "Shelly 1PM study Restart", "cmd_t": "~command", "pl_prs": "reboot", "en": "true", "uniq_id": "1pm-study-restart", "qos": 0, "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "config", "dev_cla": "restart"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.603 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/button/1pm-study-restart/config {"name": "Shelly 1PM study Restart", "cmd_t": "~command", "pl_prs": "reboot", "en": "true", "uniq_id": "1pm-study-restart", "qos": 0, "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "config", "dev_cla": "restart"}
2023-01-02 20:01:12.613 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/switch/1pm-study-relay-0/config', 'payload': '{"name": "Shelly 1PM study 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": "1pm-study-relay-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.614 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/switch/1pm-study-relay-0/config {"name": "Shelly 1PM study 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": "1pm-study-relay-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/"}
2023-01-02 20:01:12.628 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: button 1pm-study-restart
2023-01-02 20:01:12.633 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/light/1pm-study-relay-0/config', 'payload': '', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.634 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/light/1pm-study-relay-0/config 
2023-01-02 20:01:12.669 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: switch 1pm-study-relay-0
2023-01-02 20:01:12.670 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/fan/1pm-study-relay-0/config', 'payload': '', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.671 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/fan/1pm-study-relay-0/config 
2023-01-02 20:01:12.703 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-power-0/config', 'payload': '{"name": "Shelly 1PM study Power 0", "stat_t": "~relay/0/power", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "false", "en": "true", "uniq_id": "1pm-study-relay-power-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "dev_cla": "power", "stat_cla": "measurement", "unit_of_meas": "W", "val_tpl": "{{value|float|round(1)}}"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.703 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-power-0/config {"name": "Shelly 1PM study Power 0", "stat_t": "~relay/0/power", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "false", "en": "true", "uniq_id": "1pm-study-relay-power-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "dev_cla": "power", "stat_cla": "measurement", "unit_of_meas": "W", "val_tpl": "{{value|float|round(1)}}"}
2023-01-02 20:01:12.712 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-energy-0/config', 'payload': '{"name": "Shelly 1PM study Energy 0", "stat_t": "~relay/0/energy", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "false", "en": "true", "uniq_id": "1pm-study-relay-energy-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "dev_cla": "energy", "stat_cla": "total_increasing", "unit_of_meas": "Wh", "val_tpl": "{{(value|float/60)|round(2)}}"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.712 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-energy-0/config {"name": "Shelly 1PM study Energy 0", "stat_t": "~relay/0/energy", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "frc_upd": "false", "en": "true", "uniq_id": "1pm-study-relay-energy-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "dev_cla": "energy", "stat_cla": "total_increasing", "unit_of_meas": "Wh", "val_tpl": "{{(value|float/60)|round(2)}}"}
2023-01-02 20:01:12.730 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/1pm-study-overpower-0/config', 'payload': '{"name": "Shelly 1PM study Overpower 0", "stat_t": "~relay/0", "en": "true", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "1pm-study-overpower-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "val_tpl": "{%if value==\'overpower\'%}ON{%else%}OFF{%endif%}", "dev_cla": "problem", "json_attr_t": "~overpower/0/overpower_value", "json_attr_tpl": "{{{\'overpower_value\':value}|tojson}}"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.731 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/1pm-study-overpower-0/config {"name": "Shelly 1PM study Overpower 0", "stat_t": "~relay/0", "en": "true", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "1pm-study-overpower-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "val_tpl": "{%if value=='overpower'%}ON{%else%}OFF{%endif%}", "dev_cla": "problem", "json_attr_t": "~overpower/0/overpower_value", "json_attr_tpl": "{{{'overpower_value':value}|tojson}}"}
2023-01-02 20:01:12.743 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-rssi/config', 'payload': '{"name": "Shelly 1PM study WiFi signal", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-rssi", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "dev_cla": "signal_strength", "stat_cla": "measurement", "unit_of_meas": "dBm", "val_tpl": "{%if value_json.wifi_sta.rssi!=0%}{{value_json.wifi_sta.rssi}}{%else%}unknown{%endif%}", "icon": "mdi:wifi", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.743 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-rssi/config {"name": "Shelly 1PM study WiFi signal", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-rssi", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "dev_cla": "signal_strength", "stat_cla": "measurement", "unit_of_meas": "dBm", "val_tpl": "{%if value_json.wifi_sta.rssi!=0%}{{value_json.wifi_sta.rssi}}{%else%}unknown{%endif%}", "icon": "mdi:wifi", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2023-01-02 20:01:12.777 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-ssid/config', 'payload': '{"name": "Shelly 1PM study SSID", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-ssid", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "val_tpl": "{{value_json.wifi_sta.ssid}}", "icon": "mdi:wifi-settings", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.778 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-ssid/config {"name": "Shelly 1PM study SSID", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-ssid", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "val_tpl": "{{value_json.wifi_sta.ssid}}", "icon": "mdi:wifi-settings", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2023-01-02 20:01:12.819 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-uptime/config', 'payload': '{"name": "Shelly 1PM study Last restart", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-uptime", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "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}
2023-01-02 20:01:12.819 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-uptime/config {"name": "Shelly 1PM study Last restart", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-uptime", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "dev_cla": "timestamp", "val_tpl": "{{(as_timestamp(now())-value_json.uptime)|timestamp_local}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2023-01-02 20:01:12.836 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor 1pm-study-power-0, sending update
2023-01-02 20:01:12.837 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', '1pm-study-power-0') '{'name': 'Shelly 1PM study Power 0', 'state_topic': 'shellies/1pm-study/relay/0/power', 'availability_topic': 'shellies/1pm-study/online', 'payload_available': 'true', 'payload_not_available': 'false', 'force_update': 'false', 'enabled_by_default': 'true', 'unique_id': '1pm-study-relay-power-0', 'qos': 0, 'device': {'connections': [['mac', 'e8:db:84:d7:df:61']], 'name': 'Shelly 1PM study', 'model': 'Shelly 1PM', 'sw_version': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'hw_version': 'gen1 (SHSW-PM)', 'manufacturer': 'Allterco Robotics', 'configuration_url': 'http://192.168.1.19/'}, 'device_class': 'power', 'state_class': 'measurement', 'unit_of_measurement': 'W', 'value_template': '{{value|float|round(1)}}', 'platform': 'mqtt'}'
2023-01-02 20:01:12.838 INFO (MainThread) [homeassistant.components.mqtt.mixins] Updating component: sensor.shelly_1pm_study_power_0
2023-01-02 20:01:12.843 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-ip/config', 'payload': '{"name": "Shelly 1PM study IP", "stat_t": "~announce", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-ip", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "val_tpl": "{{value_json.ip}}", "icon": "mdi:ip-outline", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.843 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-ip/config {"name": "Shelly 1PM study IP", "stat_t": "~announce", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-ip", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "val_tpl": "{{value_json.ip}}", "icon": "mdi:ip-outline", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2023-01-02 20:01:12.856 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor 1pm-study-energy-0, sending update
2023-01-02 20:01:12.857 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', '1pm-study-energy-0') '{'name': 'Shelly 1PM study Energy 0', 'state_topic': 'shellies/1pm-study/relay/0/energy', 'availability_topic': 'shellies/1pm-study/online', 'payload_available': 'true', 'payload_not_available': 'false', 'force_update': 'false', 'enabled_by_default': 'true', 'unique_id': '1pm-study-relay-energy-0', 'qos': 0, 'device': {'connections': [['mac', 'e8:db:84:d7:df:61']], 'name': 'Shelly 1PM study', 'model': 'Shelly 1PM', 'sw_version': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'hw_version': 'gen1 (SHSW-PM)', 'manufacturer': 'Allterco Robotics', 'configuration_url': 'http://192.168.1.19/'}, 'device_class': 'energy', 'state_class': 'total_increasing', 'unit_of_measurement': 'Wh', 'value_template': '{{(value|float/60)|round(2)}}', 'platform': 'mqtt'}'
2023-01-02 20:01:12.857 INFO (MainThread) [homeassistant.components.mqtt.mixins] Updating component: sensor.shelly_1pm_study_energy_0
2023-01-02 20:01:12.859 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-temperature/config', 'payload': '{"name": "Shelly 1PM study Temperature", "stat_t": "~temperature", "frc_upd": "false", "en": "true", "uniq_id": "1pm-study-temperature", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "dev_cla": "temperature", "stat_cla": "measurement", "unit_of_meas": "°C", "val_tpl": "{%if is_number(value) and -100<value|int<900%}{{value|round(1)}}{%else%}unknown{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.859 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-temperature/config {"name": "Shelly 1PM study Temperature", "stat_t": "~temperature", "frc_upd": "false", "en": "true", "uniq_id": "1pm-study-temperature", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "dev_cla": "temperature", "stat_cla": "measurement", "unit_of_meas": "°C", "val_tpl": "{%if is_number(value) and -100<value|int<900%}{{value|round(1)}}{%else%}unknown{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2023-01-02 20:01:12.891 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-temperature_status/config', 'payload': '{"name": "Shelly 1PM study Temperature status", "stat_t": "~temperature_status", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-temperature_status", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "val_tpl": "{{value|lower}}", "icon": "mdi:thermometer-alert", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.892 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-temperature_status/config {"name": "Shelly 1PM study Temperature status", "stat_t": "~temperature_status", "frc_upd": "false", "en": "false", "uniq_id": "1pm-study-temperature_status", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "val_tpl": "{{value|lower}}", "icon": "mdi:thermometer-alert", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2023-01-02 20:01:12.907 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor 1pm-study-overpower-0, sending update
2023-01-02 20:01:12.908 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', '1pm-study-overpower-0') '{'name': 'Shelly 1PM study Overpower 0', 'state_topic': 'shellies/1pm-study/relay/0', 'enabled_by_default': 'true', 'availability_topic': 'shellies/1pm-study/online', 'payload_available': 'true', 'payload_not_available': 'false', 'unique_id': '1pm-study-overpower-0', 'qos': 0, 'device': {'connections': [['mac', 'e8:db:84:d7:df:61']], 'name': 'Shelly 1PM study', 'model': 'Shelly 1PM', 'sw_version': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'hw_version': 'gen1 (SHSW-PM)', 'manufacturer': 'Allterco Robotics', 'configuration_url': 'http://192.168.1.19/'}, 'entity_category': 'diagnostic', 'value_template': "{%if value=='overpower'%}ON{%else%}OFF{%endif%}", 'device_class': 'problem', 'json_attributes_topic': 'shellies/1pm-study/overpower/0/overpower_value', 'json_attributes_template': "{{{'overpower_value':value}|tojson}}", 'platform': 'mqtt'}'
2023-01-02 20:01:12.908 INFO (MainThread) [homeassistant.components.mqtt.mixins] Updating component: binary_sensor.shelly_1pm_study_overpower_0
2023-01-02 20:01:12.911 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/1pm-study-input-0/button_release/config', 'payload': '{"atype": "trigger", "t": "shellies/1pm-study/input/0", "pl": "0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "type": "button_short_release", "stype": "button_1"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.912 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/1pm-study-input-0/button_release/config {"atype": "trigger", "t": "shellies/1pm-study/input/0", "pl": "0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "type": "button_short_release", "stype": "button_1"}
2023-01-02 20:01:12.919 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/1pm-study-input-0/button_long_press/config', 'payload': '{"atype": "trigger", "t": "shellies/1pm-study/input_event/0", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "type": "button_long_press", "stype": "button_1"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.919 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/1pm-study-input-0/button_long_press/config {"atype": "trigger", "t": "shellies/1pm-study/input_event/0", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "type": "button_long_press", "stype": "button_1"}
2023-01-02 20:01:12.926 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/1pm-study-input-0/button_short_press/config', 'payload': '{"atype": "trigger", "t": "shellies/1pm-study/input_event/0", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "type": "button_short_press", "stype": "button_1"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.927 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/1pm-study-input-0/button_short_press/config {"atype": "trigger", "t": "shellies/1pm-study/input_event/0", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "type": "button_short_press", "stype": "button_1"}
2023-01-02 20:01:12.938 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 1pm-study-rssi
2023-01-02 20:01:12.940 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-ext-temperature-0/config', 'payload': '', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.940 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-ext-temperature-0/config 
2023-01-02 20:01:12.997 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-ext-temperature-1/config', 'payload': '', 'retain': True, 'qos': 0}
2023-01-02 20:01:12.997 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-ext-temperature-1/config 
2023-01-02 20:01:13.025 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 1pm-study-ssid
2023-01-02 20:01:13.026 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 1pm-study-uptime
2023-01-02 20:01:13.027 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 1pm-study-ip
2023-01-02 20:01:13.027 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor 1pm-study-temperature, sending update
2023-01-02 20:01:13.067 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', '1pm-study-temperature') '{'name': 'Shelly 1PM study Temperature', 'state_topic': 'shellies/1pm-study/temperature', 'force_update': 'false', 'enabled_by_default': 'true', 'unique_id': '1pm-study-temperature', 'qos': 0, 'device': {'connections': [['mac', 'e8:db:84:d7:df:61']], 'name': 'Shelly 1PM study', 'model': 'Shelly 1PM', 'sw_version': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'hw_version': 'gen1 (SHSW-PM)', 'manufacturer': 'Allterco Robotics', 'configuration_url': 'http://192.168.1.19/'}, 'entity_category': 'diagnostic', 'device_class': 'temperature', 'state_class': 'measurement', 'unit_of_measurement': '°C', 'value_template': '{%if is_number(value) and -100<value|int<900%}{{value|round(1)}}{%else%}unknown{%endif%}', 'availability_topic': 'shellies/1pm-study/online', 'payload_available': 'true', 'payload_not_available': 'false', 'platform': 'mqtt'}'
2023-01-02 20:01:13.067 INFO (MainThread) [homeassistant.components.mqtt.mixins] Updating component: sensor.shelly_1pm_study_temperature
2023-01-02 20:01:13.085 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor 1pm-study-temperature_status, sending update
2023-01-02 20:01:13.088 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-ext-temperature-2/config', 'payload': '', 'retain': True, 'qos': 0}
2023-01-02 20:01:13.089 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-ext-temperature-2/config 
2023-01-02 20:01:13.096 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', '1pm-study-temperature_status') '{'name': 'Shelly 1PM study Temperature status', 'state_topic': 'shellies/1pm-study/temperature_status', 'force_update': 'false', 'enabled_by_default': 'false', 'unique_id': '1pm-study-temperature_status', 'qos': 0, 'device': {'connections': [['mac', 'e8:db:84:d7:df:61']], 'name': 'Shelly 1PM study', 'model': 'Shelly 1PM', 'sw_version': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'hw_version': 'gen1 (SHSW-PM)', 'manufacturer': 'Allterco Robotics', 'configuration_url': 'http://192.168.1.19/'}, 'entity_category': 'diagnostic', 'value_template': '{{value|lower}}', 'icon': 'mdi:thermometer-alert', 'availability_topic': 'shellies/1pm-study/online', 'payload_available': 'true', 'payload_not_available': 'false', 'platform': 'mqtt'}'
2023-01-02 20:01:13.096 INFO (MainThread) [homeassistant.components.mqtt.mixins] Updating component: sensor.shelly_1pm_study_temperature_status
2023-01-02 20:01:13.162 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/1pm-study-ext-humidity-0/config', 'payload': '', 'retain': True, 'qos': 0}
2023-01-02 20:01:13.162 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/1pm-study-ext-humidity-0/config 
2023-01-02 20:01:13.170 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/1pm-study-overtemperature/config', 'payload': '{"name": "Shelly 1PM study Overtemperature", "stat_t": "~overtemperature", "en": "true", "uniq_id": "1pm-study-overtemperature", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev_cla": "problem"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:13.170 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/1pm-study-overtemperature/config {"name": "Shelly 1PM study Overtemperature", "stat_t": "~overtemperature", "en": "true", "uniq_id": "1pm-study-overtemperature", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "ent_cat": "diagnostic", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev_cla": "problem"}
2023-01-02 20:01:13.181 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: device_automation 1pm-study-input-0 button_release, sending update
2023-01-02 20:01:13.183 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for Device trigger with hash: ('device_automation', '1pm-study-input-0 button_release') '{'automation_type': 'trigger', 'topic': 'shellies/1pm-study/input/0', 'payload': '0', 'qos': 0, 'device': {'connections': [['mac', 'e8:db:84:d7:df:61']], 'name': 'Shelly 1PM study', 'model': 'Shelly 1PM', 'sw_version': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'hw_version': 'gen1 (SHSW-PM)', 'manufacturer': 'Allterco Robotics', 'configuration_url': 'http://192.168.1.19/'}, 'type': 'button_short_release', 'subtype': 'button_1', 'platform': 'mqtt'}'
2023-01-02 20:01:13.183 INFO (MainThread) [homeassistant.components.mqtt.mixins] Device trigger ('device_automation', '1pm-study-input-0 button_release') updating
2023-01-02 20:01:13.185 INFO (MainThread) [homeassistant.components.mqtt.mixins] Device trigger ('device_automation', '1pm-study-input-0 button_release') no changes
2023-01-02 20:01:13.187 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/1pm-study-input-0/config', 'payload': '{"name": "Shelly 1PM study Input 0", "stat_t": "~input/0", "en": "false", "uniq_id": "1pm-study-input-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:13.187 DEBUG (SyncWorker_2) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/1pm-study-input-0/config {"name": "Shelly 1PM study Input 0", "stat_t": "~input/0", "en": "false", "uniq_id": "1pm-study-input-0", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:d7:df:61"]], "name": "Shelly 1PM study", "mdl": "Shelly 1PM", "sw": "20221108-153925/v1.12.1-1PM-fix-g2821131", "hw": "gen1 (SHSW-PM)", "mf": "Allterco Robotics", "cu": "http://192.168.1.19/"}, "~": "shellies/1pm-study/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2023-01-02 20:01:13.219 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: device_automation 1pm-study-input-0 button_long_press, sending update
2023-01-02 20:01:13.238 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for Device trigger with hash: ('device_automation', '1pm-study-input-0 button_long_press') '{'automation_type': 'trigger', 'topic': 'shellies/1pm-study/input_event/0', 'payload': 'L', 'value_template': '{{value_json.event}}', 'qos': 0, 'device': {'connections': [['mac', 'e8:db:84:d7:df:61']], 'name': 'Shelly 1PM study', 'model': 'Shelly 1PM', 'sw_version': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'hw_version': 'gen1 (SHSW-PM)', 'manufacturer': 'Allterco Robotics', 'configuration_url': 'http://192.168.1.19/'}, 'type': 'button_long_press', 'subtype': 'button_1', 'platform': 'mqtt'}'
2023-01-02 20:01:13.238 INFO (MainThread) [homeassistant.components.mqtt.mixins] Device trigger ('device_automation', '1pm-study-input-0 button_long_press') updating
2023-01-02 20:01:13.240 INFO (MainThread) [homeassistant.components.mqtt.mixins] Device trigger ('device_automation', '1pm-study-input-0 button_long_press') no changes
2023-01-02 20:01:13.242 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: device_automation 1pm-study-input-0 button_short_press, sending update
2023-01-02 20:01:13.246 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for Device trigger with hash: ('device_automation', '1pm-study-input-0 button_short_press') '{'automation_type': 'trigger', 'topic': 'shellies/1pm-study/input_event/0', 'payload': 'S', 'value_template': '{{value_json.event}}', 'qos': 0, 'device': {'connections': [['mac', 'e8:db:84:d7:df:61']], 'name': 'Shelly 1PM study', 'model': 'Shelly 1PM', 'sw_version': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'hw_version': 'gen1 (SHSW-PM)', 'manufacturer': 'Allterco Robotics', 'configuration_url': 'http://192.168.1.19/'}, 'type': 'button_short_press', 'subtype': 'button_1', 'platform': 'mqtt'}'
2023-01-02 20:01:13.246 INFO (MainThread) [homeassistant.components.mqtt.mixins] Device trigger ('device_automation', '1pm-study-input-0 button_short_press') updating
2023-01-02 20:01:13.247 INFO (MainThread) [homeassistant.components.mqtt.mixins] Device trigger ('device_automation', '1pm-study-input-0 button_short_press') no changes
2023-01-02 20:01:13.291 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor 1pm-study-overtemperature, sending update
2023-01-02 20:01:13.294 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', '1pm-study-overtemperature') '{'name': 'Shelly 1PM study Overtemperature', 'state_topic': 'shellies/1pm-study/overtemperature', 'enabled_by_default': 'true', 'unique_id': '1pm-study-overtemperature', 'qos': 0, 'device': {'connections': [['mac', 'e8:db:84:d7:df:61']], 'name': 'Shelly 1PM study', 'model': 'Shelly 1PM', 'sw_version': '20221108-153925/v1.12.1-1PM-fix-g2821131', 'hw_version': 'gen1 (SHSW-PM)', 'manufacturer': 'Allterco Robotics', 'configuration_url': 'http://192.168.1.19/'}, 'entity_category': 'diagnostic', 'payload_on': '1', 'payload_off': '0', 'availability_topic': 'shellies/1pm-study/online', 'payload_available': 'true', 'payload_not_available': 'false', 'device_class': 'problem', 'platform': 'mqtt'}'
2023-01-02 20:01:13.294 INFO (MainThread) [homeassistant.components.mqtt.mixins] Updating component: binary_sensor.shelly_1pm_study_overtemperature
2023-01-02 20:01:13.299 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor 1pm-study-input-0
2023-01-02 20:01:35.181 INFO (MainThread) [homeassistant.components.automation.shellies_discovery] Shellies Discovery: Running automation actions
2023-01-02 20:01:35.182 INFO (MainThread) [homeassistant.components.automation.shellies_discovery] Shellies Discovery: Executing step call service
2023-01-02 20:01:35.781 INFO (SyncWorker_7) [homeassistant.components.python_script] Executing shellies_discovery.py: {'id': 'ht-living_room', 'mac': 'E8DB84ACD93D', 'fw_ver': '20221027-092707/v1.12.1-ga9117d3', 'model': 'SHHT-1', 'mode': '', 'host': '192.168.1.16'}
2023-01-02 20:01:35.782 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] id: ht-living_room, mac: e8db84acd93d, fw_ver: 20221027-092707/v1.12.1-ga9117d3, model: SHHT-1
2023-01-02 20:01:35.783 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/update/ht-living_room-firmware/config', 'payload': '{"name": "Shelly H&T living_room Firmware", "stat_t": "~info", "val_tpl": "{{value_json[\'update\'].old_version}}", "l_ver_t": "~info", "l_ver_tpl": "{%if value_json[\'update\'].new_version%}{{value_json[\'update\'].new_version}}{%else%}{{value_json[\'update\'].old_version}}{%endif%}", "ent_pic": "https://brands.home-assistant.io/_/shelly/icon.png", "rel_u": "https://shelly-api-docs.shelly.cloud/gen1/#changelog", "tit": "Shelly H&T living_room Firmware", "en": "true", "uniq_id": "ht-living_room-firmware", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "exp_aft": 51839, "ent_cat": "diagnostic", "dev_cla": "firmware"}', 'retain': True, 'qos': 0}
2023-01-02 20:01:35.784 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/update/ht-living_room-firmware/config {"name": "Shelly H&T living_room Firmware", "stat_t": "~info", "val_tpl": "{{value_json['update'].old_version}}", "l_ver_t": "~info", "l_ver_tpl": "{%if value_json['update'].new_version%}{{value_json['update'].new_version}}{%else%}{{value_json['update'].old_version}}{%endif%}", "ent_pic": "https://brands.home-assistant.io/_/shelly/icon.png", "rel_u": "https://shelly-api-docs.shelly.cloud/gen1/#changelog", "tit": "Shelly H&T living_room Firmware", "en": "true", "uniq_id": "ht-living_room-firmware", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "exp_aft": 51839, "ent_cat": "diagnostic", "dev_cla": "firmware"}
2023-01-02 20:01:35.804 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/ht-living_room-battery/config', 'payload': '{"name": "Shelly H&T living_room Battery", "stat_t": "~sensor/battery", "frc_upd": "false", "en": "true", "uniq_id": "ht-living_room-battery", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "dev_cla": "battery", "stat_cla": "measurement", "unit_of_meas": "%", "val_tpl": "{{value|float|round}}", "exp_aft": 51839}', 'retain': True, 'qos': 0}
2023-01-02 20:01:35.806 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/ht-living_room-battery/config {"name": "Shelly H&T living_room Battery", "stat_t": "~sensor/battery", "frc_upd": "false", "en": "true", "uniq_id": "ht-living_room-battery", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "dev_cla": "battery", "stat_cla": "measurement", "unit_of_meas": "%", "val_tpl": "{{value|float|round}}", "exp_aft": 51839}
2023-01-02 20:01:35.815 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: update ht-living_room-firmware
2023-01-02 20:01:35.819 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/ht-living_room-humidity/config', 'payload': '{"name": "Shelly H&T living_room Humidity", "stat_t": "~sensor/humidity", "frc_upd": "false", "en": "true", "uniq_id": "ht-living_room-humidity", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "dev_cla": "humidity", "stat_cla": "measurement", "unit_of_meas": "%", "val_tpl": "{%if is_number(value) and 0<value|int<999%}{{value|round(1)}}{%else%}unknown{%endif%}", "exp_aft": 51839}', 'retain': True, 'qos': 0}
2023-01-02 20:01:35.819 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/ht-living_room-humidity/config {"name": "Shelly H&T living_room Humidity", "stat_t": "~sensor/humidity", "frc_upd": "false", "en": "true", "uniq_id": "ht-living_room-humidity", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "dev_cla": "humidity", "stat_cla": "measurement", "unit_of_meas": "%", "val_tpl": "{%if is_number(value) and 0<value|int<999%}{{value|round(1)}}{%else%}unknown{%endif%}", "exp_aft": 51839}
2023-01-02 20:01:35.877 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor ht-living_room-battery
2023-01-02 20:01:35.883 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/ht-living_room-ip/config', 'payload': '{"name": "Shelly H&T living_room IP", "stat_t": "~announce", "frc_upd": "false", "en": "false", "uniq_id": "ht-living_room-ip", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "val_tpl": "{{value_json.ip}}", "icon": "mdi:ip-outline", "exp_aft": 51839}', 'retain': True, 'qos': 0}
2023-01-02 20:01:35.884 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/ht-living_room-ip/config {"name": "Shelly H&T living_room IP", "stat_t": "~announce", "frc_upd": "false", "en": "false", "uniq_id": "ht-living_room-ip", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "val_tpl": "{{value_json.ip}}", "icon": "mdi:ip-outline", "exp_aft": 51839}
2023-01-02 20:01:35.929 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor ht-living_room-humidity
2023-01-02 20:01:35.938 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/ht-living_room-rssi/config', 'payload': '{"name": "Shelly H&T living_room WiFi signal", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "ht-living_room-rssi", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "dev_cla": "signal_strength", "stat_cla": "measurement", "unit_of_meas": "dBm", "val_tpl": "{%if value_json.wifi_sta.rssi!=0%}{{value_json.wifi_sta.rssi}}{%else%}unknown{%endif%}", "icon": "mdi:wifi", "exp_aft": 51839}', 'retain': True, 'qos': 0}
2023-01-02 20:01:35.938 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/ht-living_room-rssi/config {"name": "Shelly H&T living_room WiFi signal", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "ht-living_room-rssi", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "dev_cla": "signal_strength", "stat_cla": "measurement", "unit_of_meas": "dBm", "val_tpl": "{%if value_json.wifi_sta.rssi!=0%}{{value_json.wifi_sta.rssi}}{%else%}unknown{%endif%}", "icon": "mdi:wifi", "exp_aft": 51839}
2023-01-02 20:01:35.971 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/ht-living_room-ssid/config', 'payload': '{"name": "Shelly H&T living_room SSID", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "ht-living_room-ssid", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "val_tpl": "{{value_json.wifi_sta.ssid}}", "icon": "mdi:wifi-settings", "exp_aft": 51839}', 'retain': True, 'qos': 0}
2023-01-02 20:01:35.972 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/ht-living_room-ssid/config {"name": "Shelly H&T living_room SSID", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "ht-living_room-ssid", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "val_tpl": "{{value_json.wifi_sta.ssid}}", "icon": "mdi:wifi-settings", "exp_aft": 51839}
2023-01-02 20:01:35.982 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/ht-living_room-temperature_f/config', 'payload': '', 'retain': True, 'qos': 0}
2023-01-02 20:01:35.983 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/ht-living_room-temperature_f/config 
2023-01-02 20:01:35.997 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/ht-living_room-temperature/config', 'payload': '{"name": "Shelly H&T living_room Temperature", "stat_t": "~sensor/temperature", "frc_upd": "false", "en": "true", "uniq_id": "ht-living_room-temperature", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "dev_cla": "temperature", "stat_cla": "measurement", "unit_of_meas": "°C", "val_tpl": "{%if is_number(value) and -100<value|int<900%}{{value|round(1)}}{%else%}unknown{%endif%}", "exp_aft": 51839}', 'retain': True, 'qos': 0}
2023-01-02 20:01:35.998 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/ht-living_room-temperature/config {"name": "Shelly H&T living_room Temperature", "stat_t": "~sensor/temperature", "frc_upd": "false", "en": "true", "uniq_id": "ht-living_room-temperature", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "dev_cla": "temperature", "stat_cla": "measurement", "unit_of_meas": "°C", "val_tpl": "{%if is_number(value) and -100<value|int<900%}{{value|round(1)}}{%else%}unknown{%endif%}", "exp_aft": 51839}
2023-01-02 20:01:36.029 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/ht-living_room-uptime/config', 'payload': '{"name": "Shelly H&T living_room Last restart", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "ht-living_room-uptime", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "dev_cla": "timestamp", "val_tpl": "{{(as_timestamp(now())-value_json.uptime)|timestamp_local}}", "exp_aft": 51839}', 'retain': True, 'qos': 0}
2023-01-02 20:01:36.030 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/ht-living_room-uptime/config {"name": "Shelly H&T living_room Last restart", "stat_t": "~info", "frc_upd": "false", "en": "false", "uniq_id": "ht-living_room-uptime", "qos": 0, "dev": {"cns": [["mac", "e8:db:84:ac:d9:3d"]], "name": "Shelly H&T living_room", "mdl": "Shelly H&T", "sw": "20221027-092707/v1.12.1-ga9117d3", "hw": "gen1 (SHHT-1)", "mf": "Allterco Robotics", "cu": "http://192.168.1.16/"}, "~": "shellies/ht-living_room/", "ent_cat": "diagnostic", "dev_cla": "timestamp", "val_tpl": "{{(as_timestamp(now())-value_json.uptime)|timestamp_local}}", "exp_aft": 51839}
2023-01-02 20:01:36.036 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor ht-living_room-ip
2023-01-02 20:01:36.039 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor ht-living_room-rssi
2023-01-02 20:01:36.062 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/ht-living_room-cloud/config', 'payload': '', 'retain': True, 'qos': 0}
2023-01-02 20:01:36.062 DEBUG (SyncWorker_7) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/ht-living_room-cloud/config 
2023-01-02 20:01:36.102 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor ht-living_room-ssid
2023-01-02 20:01:36.184 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor ht-living_room-temperature
2023-01-02 20:01:36.211 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor ht-living_room-uptime
2023-01-02 20:01:51.075 ERROR (SyncWorker_2) [homeassistant.components.influxdb] InfluxDB database is not accessible due to '404: {"error":"database not found: \"home_assistant_raw\""}'. Please check that the database, username and password are correct and that the specified user has the correct permissions set. Retrying in 60 seconds.
2023-01-02 20:02:51.089 ERROR (SyncWorker_1) [homeassistant.components.influxdb] InfluxDB database is not accessible due to '404: {"error":"database not found: \"home_assistant_raw\""}'. Please check that the database, username and password are correct and that the specified user has the correct permissions set. Retrying in 60 seconds.
2023-01-02 20:03:51.117 ERROR (SyncWorker_0) [homeassistant.components.influxdb] InfluxDB database is not accessible due to '404: {"error":"database not found: \"home_assistant_raw\""}'. Please check that the database, username and password are correct and that the specified user has the correct permissions set. Retrying in 60 seconds.
2023-01-02 20:04:51.133 ERROR (SyncWorker_3) [homeassistant.components.influxdb] InfluxDB database is not accessible due to '404: {"error":"database not found: \"home_assistant_raw\""}'. Please check that the database, username and password are correct and that the specified user has the correct permissions set. Retrying in 60 seconds.

from ha-shellies-discovery.

EDIflyer avatar EDIflyer commented on September 22, 2024

Even though there's nothing on the device page a temp is showing up if I add the sensor on Lovelace 👍

from ha-shellies-discovery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.