Home Assistant 2021.6.3
Zigbee2mqtt 1.28.4
On zigbee side all works, but auto-discovery in HA fails, getting this exception (see below) in the Home Assistant, is there way around that?
Thanks
2022-12-25 20:39:09 ERROR (MainThread) [homeassistant.util.logging] Exception in async_discover when dispatching 'mqtt_discovery_new_binary_sensor_mqtt': ({'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'value_template': '{{ value_json.state }}'}, {'topic': 'zigbee2mqtt/hue_go/availability', 'value_template': '{{ value_json.state }}'}], 'availability_mode': 'all', 'device': {'identifiers': ['zigbee2mqtt_0x00178801060d7ea6'], 'manufacturer': 'Philips', 'model': 'Hue Go (7146060PH)', 'name': 'hue_go', 'sw_version': '5.90.1.20202'}, 'device_class': 'update', 'enabled_by_default': False, 'entity_category': 'diagnostic', 'name': 'hue_go_update_available', 'payload_off': False, 'payload_on': True, 'state_topic': 'zigbee2mqtt/hue_go', 'unique_id': '0x00178801060d7ea6_update_available_zigbee2mqtt', 'value_template': '{{ value_json[\'update\'][\'state\'] == "available" }}', 'platform': 'mqtt'},)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py", line 160, in async_discover
config = schema(discovery_payload)
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 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['availability'][0]['value_template']