Logger: homeassistant.util.logging
Source: util/logging.py:156
First occurred: 23 март 2023 г.,
22:30:37 ч. (3323 occurrences)
Last logged: 20:51:46 ч.
Exception in async_discover when dispatching 'mqtt_discovery_new_sensor_mqtt':
({
'name': 'QPIGS AC Input Voltage',
'state_topic': 'homeassistant/sensor/mpp_QPIGS_ac_input_voltage/state',
'unique_id': 'mpp_QPIGS_ac_input_voltage',
'force_update': 'true',
'unit_of_measurement': 'V',
'device': {
'name': 'VMIII-5000',
'identifiers': ['VMIII-5000'],
'model': 'VMIII-5000',
'manufacturer': 'MPP-Solar'
},
'icon': 'lightning',
'platform': 'mqtt'
}, )
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py",
line 316,
in async_discover config:
DiscoveryInfoType = discovery_schema(discovery_payload) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py",
line 232,
in __call__ return self._exec((Schema(val) for val in self.validators),v)
File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py",
line 355,in _exec raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py",
line 351,
in _exec v = func(v)
File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py",
line 272,
in __call__ return self._compiled([], data)
File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py",
line 818,
in validate_callable return schema(data)
File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py",
line 272,
in __call__ return self._compiled([], data)
File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py",
line 595,
in validate_dict return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py",
line 433,
in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid:
Icons should be specified in the form "prefix:name" for dictionary value @ data['icon']
Icon format need to be specified in other string format or is other thing?
Icon format need to be specified in other string format or is other thing?