hass --script check_config --config /config
**Testing configuration at /config**
This is MQTT log after “Shellies announce”:
shellies/command announce
shellies/shellyplug-s-040B47/online true
shellies/announce {"id":"shellyplug-s-040B47","mac":"4C11AE040B47","ip":"192.168.3.116","new_fw":false, "fw_ver":"20190821-095311/v1.5.2@4148d2b7"}
homeassistant/switch/shellyplug-s-040B47-relay-0/config {"name":"Shelly Plug S 040B47 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":"shellyplug-s-040B47-relay-0","qos":"0","dev": {"ids": ["4C11AE040B47"],"name":"Shelly Plug S 040B47","mdl":"Shelly Plug S","sw":"20190821-095311/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shellyplug-s-040B47/"}
homeassistant/light/shellyplug-s-040B47-relay-0/config (null)
homeassistant/fan/shellyplug-s-040B47-relay-0/config (null)
homeassistant/sensor/shellyplug-s-040B47-power/config (null)
homeassistant/sensor/shellyplug-s-040B47-energy/config (null)
homeassistant/sensor/shellyplug-s-040B47-power-0/config {"name":"Shelly Plug S 040B47 Power 0","stat_t":"~relay/0/power","unit_of_meas":"W","dev_cla":"power","val_tpl":"{{ value | float | round(1) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shellyplug-s-040B47-relay-power-0","qos":"0","dev": {"ids": ["4C11AE040B47"],"name":"Shelly Plug S 040B47","mdl":"Shelly Plug S","sw":"20190821-095311/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shellyplug-s-040B47/"}
homeassistant/sensor/shellyplug-s-040B47-energy-0/config {"name":"Shelly Plug S 040B47 Energy 0","stat_t":"~relay/0/energy","unit_of_meas":"kWh","dev_cla":"power","val_tpl":"{{ (value | float / 60 / 1000) | round(2) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shellyplug-s-040B47-relay-energy-0","qos":"0","dev": {"ids": ["4C11AE040B47"],"name":"Shelly Plug S 040B47","mdl":"Shelly Plug S","sw":"20190821-095311/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shellyplug-s-040B47/"}
homeassistant/sensor/shellyplug-s-040B47-temperature/config {"name":"Shelly Plug S 040B47 Temperature","stat_t":"~temperature","unit_of_meas":"°C","dev_cla":"temperature","val_tpl":"{{ value | float | round(1) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shellyplug-s-040B47-temperature","qos":"0","dev": {"ids": ["4C11AE040B47"],"name":"Shelly Plug S 040B47","mdl":"Shelly Plug S","sw":"20190821-095311/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shellyplug-s-040B47/"}
homeassistant/binary_sensor/shellyplug-s-040B47-overtemperature/config {"name":"Shelly Plug S 040B47 Overtemperature","stat_t":"~overtemperature","pl_on":"1","pl_off":"0","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","dev_cla":"heat","uniq_id":"shellyplug-s-040B47-overtemperature","qos":"0","dev": {"ids": ["4C11AE040B47"],"name":"Shelly Plug S 040B47","mdl":"Shelly Plug S","sw":"20190821-095311/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shellyplug-s-040B47/"}
shellies/shelly4pro-F61717/online true
shellies/announce {"id":"shelly4pro-F61717","mac":"780473F61717","ip":"192.168.3.115","new_fw":false, "fw_ver":"20190821-095050/v1.5.2@4148d2b7"}
homeassistant/switch/shelly4pro-F61717-relay-0/config {"name":"Shelly4Pro F61717 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":"shelly4pro-F61717-relay-0","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/light/shelly4pro-F61717-relay-0/config (null)
homeassistant/fan/shelly4pro-F61717-relay-0/config (null)
homeassistant/sensor/shelly4pro-F61717-power-0/config {"name":"Shelly4Pro F61717 Power 0","stat_t":"~relay/0/power","unit_of_meas":"W","dev_cla":"power","val_tpl":"{{ value | float | round(1) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-power-0","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/sensor/shelly4pro-F61717-energy-0/config {"name":"Shelly4Pro F61717 Energy 0","stat_t":"~relay/0/energy","unit_of_meas":"kWh","dev_cla":"power","val_tpl":"{{ (value | float / 60 / 1000) | round(2) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-energy-0","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/switch/shelly4pro-F61717-relay-1/config {"name":"Shelly4Pro F61717 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":"shelly4pro-F61717-relay-1","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/light/shelly4pro-F61717-relay-1/config (null)
homeassistant/fan/shelly4pro-F61717-relay-1/config (null)
homeassistant/sensor/shelly4pro-F61717-power-1/config {"name":"Shelly4Pro F61717 Power 1","stat_t":"~relay/1/power","unit_of_meas":"W","dev_cla":"power","val_tpl":"{{ value | float | round(1) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-power-1","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/sensor/shelly4pro-F61717-energy-1/config {"name":"Shelly4Pro F61717 Energy 1","stat_t":"~relay/1/energy","unit_of_meas":"kWh","dev_cla":"power","val_tpl":"{{ (value | float / 60 / 1000) | round(2) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-energy-1","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/switch/shelly4pro-F61717-relay-2/config {"name":"Shelly4Pro F61717 Relay 2","cmd_t":"~relay/2/command","stat_t":"~relay/2","pl_off":"off","pl_on":"on","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-2","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/light/shelly4pro-F61717-relay-2/config (null)
homeassistant/fan/shelly4pro-F61717-relay-2/config (null)
homeassistant/sensor/shelly4pro-F61717-power-2/config {"name":"Shelly4Pro F61717 Power 2","stat_t":"~relay/2/power","unit_of_meas":"W","dev_cla":"power","val_tpl":"{{ value | float | round(1) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-power-2","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/sensor/shelly4pro-F61717-energy-2/config {"name":"Shelly4Pro F61717 Energy 2","stat_t":"~relay/2/energy","unit_of_meas":"kWh","dev_cla":"power","val_tpl":"{{ (value | float / 60 / 1000) | round(2) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-energy-2","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/switch/shelly4pro-F61717-relay-3/config {"name":"Shelly4Pro F61717 Relay 3","cmd_t":"~relay/3/command","stat_t":"~relay/3","pl_off":"off","pl_on":"on","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-3","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/light/shelly4pro-F61717-relay-3/config (null)
homeassistant/fan/shelly4pro-F61717-relay-3/config (null)
homeassistant/sensor/shelly4pro-F61717-power/config (null)
homeassistant/sensor/shelly4pro-F61717-energy/config (null)
homeassistant/sensor/shelly4pro-F61717-power-3/config {"name":"Shelly4Pro F61717 Power 3","stat_t":"~relay/3/power","unit_of_meas":"W","dev_cla":"power","val_tpl":"{{ value | float | round(1) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-power-3","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
homeassistant/sensor/shelly4pro-F61717-energy-3/config {"name":"Shelly4Pro F61717 Energy 3","stat_t":"~relay/3/energy","unit_of_meas":"kWh","dev_cla":"power","val_tpl":"{{ (value | float / 60 / 1000) | round(2) }}","avty_t":"~online","pl_avail":"true","pl_not_avail":"false","uniq_id":"shelly4pro-F61717-relay-energy-3","qos":"0","dev": {"ids": ["780473F61717"],"name":"Shelly4Pro F61717","mdl":"Shelly4Pro","sw":"20190821-095050/v1.5.2@4148d2b7","mf":"Allterco Robotics"},"~":"shellies/shelly4pro-F61717/"}
There is nothing after “Shellies Discovery” triggered.