bieniu / ha-shellies-discovery

Script that adds MQTT discovery support for Shellies devices
Apache License 2.0
295 stars 90 forks source link

Shelly2.5 as roller shutter stoped working at all #127

Closed dzikus closed 3 years ago

dzikus commented 3 years ago

Describe the bug

Some time ago (~3-4 weeks ago) I upgraded shellies-discovery thru HACS, then all roller shutters stoped working at all. They are working thru mqtt but are no longer available in HA as cover entities. All my shellies are in another LAN segment (separated via 802.11q) and HA cannot directly check ARP MAC address (layer2) of any shellie (maybe this is a hint?). HA has full access (layer3) to this LAN segment, but this LAN segment has only access to mqtt broker and no access to Internet. Tested shelly2.5 (working as roller shutter controler) is available in HA as relay:

Zrzut ekranu 2021-05-12 o 11 28 15

Expected behavior

cover.* entities available

Versions:

Shellies Discovery automation:

- id: shellies_discovery
  alias: Shellies Discovery
  trigger:
  - platform: mqtt
    topic: shellies/announce
  action:
  - service: python_script.shellies_discovery
    data:
      id: '{{ trigger.payload_json.id }}'
      mac: '{{ trigger.payload_json.mac }}'
      fw_ver: '{{ trigger.payload_json.fw_ver }}'
      model: '{{ trigger.payload_json.model }}'
      mode: '{{ trigger.payload_json.mode | default }}'
  mode: queued
  max: 999

Debug log:

2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-power/config
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-energy/config', 'payload': '', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-energy/config
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-power-1/config', 'payload': '{"name": "Shelly 2.5 6912EB 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-6912eb-relay-power-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-power-1/config {"name": "Shelly 2.5 6912EB 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-6912eb-relay-power-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-energy-1/config', 'payload': '{"name": "Shelly 2.5 6912EB 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-6912eb-relay-energy-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-energy-1/config {"name": "Shelly 2.5 6912EB 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-6912eb-relay-energy-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-6912EB-longpush-1/config', 'payload': '{"name": "Shelly 2.5 6912EB Longpush 1", "stat_t": "~input_event/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-6912eb-longpush-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "off_dly": 2, "val_tpl": "{%if value_json.event==\'L\'%}ON{%else%}OFF{%endif%}"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-6912EB-longpush-1/config {"name": "Shelly 2.5 6912EB Longpush 1", "stat_t": "~input_event/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-6912eb-longpush-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "off_dly": 2, "val_tpl": "{%if value_json.event=='L'%}ON{%else%}OFF{%endif%}"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-6912EB-shortpush-1/config', 'payload': '{"name": "Shelly 2.5 6912EB Shortpush 1", "stat_t": "~input_event/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-6912eb-shortpush-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "off_dly": 2, "val_tpl": "{%if value_json.event==\'S\'%}ON{%else%}OFF{%endif%}"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-6912EB-shortpush-1/config {"name": "Shelly 2.5 6912EB Shortpush 1", "stat_t": "~input_event/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-6912eb-shortpush-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "off_dly": 2, "val_tpl": "{%if value_json.event=='S'%}ON{%else%}OFF{%endif%}"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-6912EB-overpower-1/config', 'payload': '{"name": "Shelly 2.5 6912EB Overpower 1", "stat_t": "~relay/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-6912eb-overpower-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "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-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-6912EB-overpower-1/config {"name": "Shelly 2.5 6912EB Overpower 1", "stat_t": "~relay/1", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "shellyswitch25-6912eb-overpower-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "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-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-temperature/config', 'payload': '{"name": "Shelly 2.5 6912EB Temperature", "stat_t": "~temperature", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-6912eb-temperature", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "unit_of_meas": "°C", "dev_cla": "temperature", "val_tpl": "{{value|float|round(1)}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-temperature/config {"name": "Shelly 2.5 6912EB Temperature", "stat_t": "~temperature", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-6912eb-temperature", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "unit_of_meas": "°C", "dev_cla": "temperature", "val_tpl": "{{value|float|round(1)}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-rssi/config', 'payload': '{"name": "Shelly 2.5 6912EB RSSI", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-6912eb-rssi", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "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-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-rssi/config {"name": "Shelly 2.5 6912EB RSSI", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-6912eb-rssi", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "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-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-ssid/config', 'payload': '{"name": "Shelly 2.5 6912EB SSID", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-6912eb-ssid", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "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-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-ssid/config {"name": "Shelly 2.5 6912EB SSID", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-6912eb-ssid", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "val_tpl": "{{value_json['wifi_sta'].ssid}}", "icon": "mdi:wifi", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-uptime/config', 'payload': '{"name": "Shelly 2.5 6912EB Uptime", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-6912eb-uptime", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "dev_cla": "timestamp", "val_tpl": "{{(as_timestamp(now())-value_json.uptime)|timestamp_local}}", "icon": "mdi:timer-outline", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-uptime/config {"name": "Shelly 2.5 6912EB Uptime", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-6912eb-uptime", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "dev_cla": "timestamp", "val_tpl": "{{(as_timestamp(now())-value_json.uptime)|timestamp_local}}", "icon": "mdi:timer-outline", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-ip/config', 'payload': '{"name": "Shelly 2.5 6912EB IP", "stat_t": "~announce", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-6912eb-ip", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "val_tpl": "{{value_json.ip}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-ip/config {"name": "Shelly 2.5 6912EB IP", "stat_t": "~announce", "frc_upd": "False", "en": "False", "uniq_id": "shellyswitch25-6912eb-ip", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "val_tpl": "{{value_json.ip}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-temperarure_status/config', 'payload': '{"name": "Shelly 2.5 6912EB Temperarure_Status", "stat_t": "~temperature_status", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-6912eb-temperarure_status", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "val_tpl": "{{value|lower}}", "icon": "mdi:thermometer", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-temperarure_status/config {"name": "Shelly 2.5 6912EB Temperarure_Status", "stat_t": "~temperature_status", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-6912eb-temperarure_status", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "val_tpl": "{{value|lower}}", "icon": "mdi:thermometer", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/shellyswitch25-6912EB-voltage/config', 'payload': '{"name": "Shelly 2.5 6912EB Voltage", "stat_t": "~info", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-6912eb-voltage", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "unit_of_meas": "V", "dev_cla": "voltage", "val_tpl": "{{value_json.voltage|float|round(1)}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/shellyswitch25-6912EB-voltage/config {"name": "Shelly 2.5 6912EB Voltage", "stat_t": "~info", "frc_upd": "False", "en": "True", "uniq_id": "shellyswitch25-6912eb-voltage", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "unit_of_meas": "V", "dev_cla": "voltage", "val_tpl": "{{value_json.voltage|float|round(1)}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-6912EB-input-0/push/config', 'payload': '', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-6912EB-input-0/push/config
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-6912EB-input-0/button_release/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input/0", "pl": "0", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_1"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-6912EB-input-0/button_release/config {"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input/0", "pl": "0", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_1"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-6912EB-input-0/button_long_press/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input_event/0", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_1"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-6912EB-input-0/button_long_press/config {"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input_event/0", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_1"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-6912EB-input-0/button_short_press/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input_event/0", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_1"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-6912EB-input-0/button_short_press/config {"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input_event/0", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_1"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-6912EB-input-1/push/config', 'payload': '', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-6912EB-input-1/push/config
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-6912EB-input-1/button_release/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input/1", "pl": "0", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_2"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-6912EB-input-1/button_release/config {"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input/1", "pl": "0", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_2"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-6912EB-input-1/button_long_press/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input_event/1", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_2"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-6912EB-input-1/button_long_press/config {"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input_event/1", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_2"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/shellyswitch25-6912EB-input-1/button_short_press/config', 'payload': '{"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input_event/1", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_2"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/shellyswitch25-6912EB-input-1/button_short_press/config {"atype": "trigger", "t": "shellies/shellyswitch25-6912EB/input_event/1", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_2"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-6912EB-overtemperature/config', 'payload': '{"name": "Shelly 2.5 6912EB Overtemperature", "stat_t": "~overtemperature", "en": "True", "uniq_id": "shellyswitch25-6912eb-overtemperature", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev_cla": "problem"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-6912EB-overtemperature/config {"name": "Shelly 2.5 6912EB Overtemperature", "stat_t": "~overtemperature", "en": "True", "uniq_id": "shellyswitch25-6912eb-overtemperature", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev_cla": "problem"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-6912EB-firmware-update/config', 'payload': '{"name": "Shelly 2.5 6912EB Firmware Update", "stat_t": "~info", "en": "True", "uniq_id": "shellyswitch25-6912eb-firmware-update", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "val_tpl": "{%if value_json[\'update\'].has_update==true%}ON{%else%}OFF{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "json_attr_t": "~info", "json_attr_tpl": "{{value_json[\'update\']|tojson}}"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-6912EB-firmware-update/config {"name": "Shelly 2.5 6912EB Firmware Update", "stat_t": "~info", "en": "True", "uniq_id": "shellyswitch25-6912eb-firmware-update", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "val_tpl": "{%if value_json['update'].has_update==true%}ON{%else%}OFF{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "json_attr_t": "~info", "json_attr_tpl": "{{value_json['update']|tojson}}"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-6912EB-input-0/config', 'payload': '{"name": "Shelly 2.5 6912EB Input 0", "stat_t": "~input/0", "en": "False", "uniq_id": "shellyswitch25-6912eb-input-0", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-6912EB-input-0/config {"name": "Shelly 2.5 6912EB Input 0", "stat_t": "~input/0", "en": "False", "uniq_id": "shellyswitch25-6912eb-input-0", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/shellyswitch25-6912EB-input-1/config', 'payload': '{"name": "Shelly 2.5 6912EB Input 1", "stat_t": "~input/1", "en": "False", "uniq_id": "shellyswitch25-6912eb-input-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
2021-05-12 11:00:02 DEBUG (SyncWorker_5) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/shellyswitch25-6912EB-input-1/config {"name": "Shelly 2.5 6912EB Input 1", "stat_t": "~input/1", "en": "False", "uniq_id": "shellyswitch25-6912eb-input-1", "qos": 0, "dev": {"ids": ["2cf4326912eb"], "name": "Shelly 2.5 6912EB", "mdl": "Shelly 2.5", "sw": "20210429-100559/v1.10.4-g3f94cd7", "mf": "Allterco Robotics"}, "~": "shellies/shellyswitch25-6912EB/", "pl_on": "1", "pl_off": "0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}

2021-05-12 11:04:42 ERROR (MainThread) [homeassistant.components.automation.shellies_discovery] Shellies Discovery: Error executing script. Error for call_service at pos 1: Error rendering data template: UndefinedError: 'dict object' has no attribute 'payload_json'
2021-05-12 11:04:42 ERROR (MainThread) [homeassistant.components.automation.shellies_discovery] Error while executing automation automation.shellies_discovery: Error rendering data template: UndefinedError: 'dict object' has no attribute 'payload_json'
bieniu commented 3 years ago

UndefinedError: 'dict object' has no attribute 'payload_json'

This means you run shellies_discovery automation manually, it's not possible.

I need annouce payload from your deviece.

mvillarejo commented 3 years ago

Hello, I'm experiencing similar behaviour, none of my covers work any more with version Home Assistant 2021.6.4.

This is the error I'm getting

2021-06-05 22:12:06 ERROR (MainThread) [homeassistant.util.logging] Exception in async_discover when dispatching 'mqtt_discovery_new_cover_mqtt': ({'name': 'Shelly 2.5 E6762C Roller 0', 'command_topic': 'shellies/shellyswitch25-E6762C/roller/0/command', 'position_topic': 'shellies/shellyswitch25-E6762C/roller/0/pos', 'value_template': '{%if value!=-1%}{{value}}{%endif%}', 'set_position_topic': 'shellies/shellyswitch25-E6762C/roller/0/command/pos', 'payload_open': 'open', 'payload_close': 'close', 'payload_stop': 'stop', 'optimistic': 'false', 'availability_topic': 'shellies/shellyswitch25-E6762C/online', 'payload_available': 'true', 'payload_not_available': 'false', 'unique_id': 'shellyswitch25-e6762c-roller-0', 'qos': 0, 'device': {'identifiers': ['84f3ebe6762c'], 'name': 'Shelly 2.5 E6762C', 'model': 'Shelly 2.5', 'sw_version': '20210429-100559/v1.10.4-g3f94cd7', 'manufacturer': 'Allterco Robotics'}, 'json_attributes_topic': 'shellies/shellyswitch25-E6762C/roller/0', 'json_attributes_template': "{{{'roller_state':value}|tojson}}", 'platform': 'mqtt'},)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/src/homeassistant/homeassistant/components/mqtt/cover.py", line 118, in validate_options
    raise vol.Invalid(
voluptuous.error.Invalid: 'value_template' must be set together with 'state_topic'.

and my automations look like:

  - id: shellies_announce
    alias: 'Shellies Announce'
    trigger:
      - platform: homeassistant
        event: start
      - platform: time_pattern
        hours: "/6"
    action:
      service: mqtt.publish
      data:
        topic: shellies/command
        payload: announce

  - id: 'shellies_discovery'
    alias: 'Shellies Discovery'
    mode: queued
    max: 999
    trigger:
      platform: mqtt
      topic: shellies/announce
    action:
      service: python_script.shellies_discovery
      data_template:
        id: '{{ trigger.payload_json.id }}'
        mac: '{{ trigger.payload_json.mac }}'
        fw_ver: '{{ trigger.payload_json.fw_ver }}'
        model: '{{ trigger.payload_json.model | default }}'
        shellyswitch25-E6762C:
          mode: "roller"
...

Any idea where the issue can be?

thanks

bieniu commented 3 years ago

@mvillarejo Probably you're using old version of the Shellies Discovery. Please update.

dzikus commented 3 years ago

I need annouce payload from your deviece.

In mqtt? In which topic?

bieniu commented 3 years ago

shellies/shellyswitch25-6912EB/announce

mvillarejo commented 3 years ago

@mvillarejo Probably you're using old version of the Shellies Discovery. Please update.

thank you for your reply, I was not. I decided to migrate my covers to the native integration as a mitigation.

dzikus commented 3 years ago

shellies/shellyswitch25-6912EB/announce {"id":"shellyswitch25-6912EB","model":"SHSW-25","mac":"xxxxxxxxxxxx","ip":"172.zz.zz.230","new_fw":false,"fw_ver":"20210429-100559/v1.10.4-g3f94cd7"}

bieniu commented 3 years ago

You don't have roller configuation in Shellies Discovery automation. Should be:

shellyswitch25-6912EB:
    mode: "roller"
dzikus commented 3 years ago

I tried already mode "roller" before submitting this issue (it was not required before and it worked), nothing changed:

Zrzut ekranu 2021-06-18 o 09 09 41 Zrzut ekranu 2021-06-18 o 09 10 16
bieniu commented 3 years ago

it was not required before and it worked

You're not right, it always was required.

dzikus commented 3 years ago

it was not required before and it worked

You're not right, it always was required.

Maybe, but it was working for me without it. Now it is not working at all. I already changed orig firmware in most of my cover controls to esphome, I only keep one of them for this issue, so if you are not interested to debug it I can migrate it also to esphome and close this issue (it appears that only me has such problem).

bieniu commented 3 years ago

if you are not interested to debug it I can migrate it also to esphome

I am interested but I need some data. So far I have found that you have an incorrect configuration so I cannot deduce anything from what you gave me.

Set mode to roller for this device, restart HA, restart the device and show me debug log for python_script.

dzikus commented 3 years ago

if you are not interested to debug it I can migrate it also to esphome

I am interested but I need some data. So far I have found that you have an incorrect configuration so I cannot deduce anything from what you gave me.

Set mode to roller for this device, restart HA, restart the device and show me debug log for python_script.

Mode to "roller" since almost a week, homeassistant.components.python_scripts: debug also.

Zrzut ekranu 2021-06-23 o 15 09 40 Zrzut ekranu 2021-06-23 o 15 10 11

HA restarted 10 minutes ago and in logs:

config $ grep -i homeassistant.components.python_script home-assistant.log
2021-06-23 15:06:38 INFO (SyncWorker_18) [homeassistant.components.python_script] Executing shellies_discovery.py: {'id': 'shellyswitch25-C459C8', 'fw_ver': '20210319-202425/v1.10.0-sw25-g1f21203', 'model': 'SHSW-25', 'mode': '', 'shellyswitch25-6912EB': {'mode': 'roller', 'roller-0-name': 'Oranżeria'}}
2021-06-23 15:06:38 ERROR (SyncWorker_18) [homeassistant.components.python_script.shellies_discovery.py] Error executing script: mac value None is not valid, check script configuration
  File "/usr/src/homeassistant/homeassistant/components/python_script/__init__.py", line 221, in execute
2021-06-23 15:06:38 INFO (SyncWorker_12) [homeassistant.components.python_script] Executing shellies_discovery.py: {'id': 'shellyswitch25-11066E', 'fw_ver': '20210319-202425/v1.10.0-sw25-g1f21203', 'model': 'SHSW-25', 'mode': '', 'shellyswitch25-6912EB': {'mode': 'roller', 'roller-0-name': 'Oranżeria'}}
2021-06-23 15:06:38 ERROR (SyncWorker_12) [homeassistant.components.python_script.shellies_discovery.py] Error executing script: mac value None is not valid, check script configuration
  File "/usr/src/homeassistant/homeassistant/components/python_script/__init__.py", line 221, in execute
2021-06-23 15:06:39 INFO (SyncWorker_19) [homeassistant.components.python_script] Executing shellies_discovery.py: {'id': 'shelly1-554998', 'fw_ver': '20210318-135942/v1.10.0-geba262d', 'model': 'SHSW-1', 'mode': '', 'shellyswitch25-6912EB': {'mode': 'roller', 'roller-0-name': 'Oranżeria'}}
2021-06-23 15:06:39 ERROR (SyncWorker_19) [homeassistant.components.python_script.shellies_discovery.py] Error executing script: mac value None is not valid, check script configuration
  File "/usr/src/homeassistant/homeassistant/components/python_script/__init__.py", line 221, in execute
2021-06-23 15:06:39 INFO (SyncWorker_24) [homeassistant.components.python_script] Executing shellies_discovery.py: {'id': 'shellyswitch25-6912EB', 'fw_ver': '20210429-100559/v1.10.4-g3f94cd7', 'model': 'SHSW-25', 'mode': '', 'shellyswitch25-6912EB': {'mode': 'roller', 'roller-0-name': 'Oranżeria'}}
2021-06-23 15:06:39 ERROR (SyncWorker_24) [homeassistant.components.python_script.shellies_discovery.py] Error executing script: mac value None is not valid, check script configuration
  File "/usr/src/homeassistant/homeassistant/components/python_script/__init__.py", line 221, in execute
bieniu commented 3 years ago

mac is missing in the script configuration:

image

dzikus commented 3 years ago

I confirm.