root@nas:/apps/docker-root/homeassistant/scripts# ./start_exta2ha.sh --testrun
Traceback (most recent call last):
File "main_exta2ha.py", line 201, in <module>
prog.main()
File "main_exta2ha.py", line 186, in main
self.ha_mqtt.ha_update_state_from_device(device)
File "/apps/docker-root/homeassistant/scripts/ExtaLife_HA.py", line 913, in ha_update_state_from_device
i_device.get_wait_to_synchron(int(channel))
File "/root/.pyenv/versions/3.6.9/lib/python3.6/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/root/.pyenv/versions/3.6.9/lib/python3.6/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/root/.pyenv/versions/3.6.9/lib/python3.6/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/root/.pyenv/versions/3.6.9/lib/python3.6/json/encoder.py", line 180, in default
o.__class__.__name__)
TypeError: Object of type 'set' is not JSON serializable
i log:
2019-09-30 12:12:37,971 WARNING:No config found for device: 13
2019-09-30 12:12:37,972 INFO:About to publish MQTT config payload topic: {"name": "Grzejnik salon", "device": {"identifiers": "zamel_exta_life_efc_01", "manufacturer": "Zamel", "model": "EFC-01", "name":
"Exta Life"}, "unique_id": "13-1", "mode_command_topic": "ha/climate/13-1/mode_set", "mode_state_topic": "ha/climate/13-1/mode_state", "modes": ["auto", "heat"], "temperature_command_topic": "ha/climate/1
3-1/temp_set", "temperature_state_topic": "ha/climate/13-1/temp_state", "precision": 0.5, "json_attributes_topic": "ha/climate/13-1/attributes", "min_temp": 5.0, "max_temp": 50.0, "temp_step": 0.5}