-
Notifications
You must be signed in to change notification settings - Fork 21
Error in HA logs when creating light in Discovery message #43
Copy link
Copy link
Open
Description
Light is not added to HA.
I get the following error in HA logs when I deploy light entities in HA
Error 'extra keys not allowed @ data['device']['unique_id']'
- [2024-04-04 12:15:09.276 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'extra keys not allowed @ data['device']['unique_id']' when processing MQTT discovery message topic: 'homeassistant/light/Living_Grid_New/config', message: '{'name': 'Living Grid New', 'unique_id': 'gridlr12345', 'state_topic': 'ha-mqtt/light/Living_Grid_New/state', 'json_attributes_topic': 'ha-mqtt/light/Living_Grid_New/attr', 'device': {'configuration_url': 'http://192.168.1.119:1880/', 'identifiers': 'specialId', 'manufacturer': 'RVC Integration', 'model': 'Grid_Light', 'sw_version': '0.0.1', 'unique_id': 'gridlr39', 'name': 'Living Grid'}, 'command_topic': 'ha-mqtt/light/Living_Grid_New/set', 'effect_state_topic': 'ha-mqtt/light/Living_Grid_New/effect/state', 'effect_command_topic': 'ha-mqtt/light/Living_Grid_New/effect/set', 'brightness_state_topic': 'ha-mqtt/light/Living_Grid_New/brightness/state', 'brightness_command_topic': 'ha-mqtt/light/Living_Grid_New/brightness/set', 'payload_on': 'ON', 'payload_off': 'OFF', 'configuration_url': 'http://10.0.0.4:1880/', 'identifiers': 'specialId', 'manufacturer': 'SuperPuper', 'model': 'Greatest-Sensor', 'sw_version': '0.0.1', 'platform': 'mqtt'}'
2024-04-04 12:15:09.277 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'extra keys not allowed @ data['device']['unique_id']' when processing MQTT discovery message topic: 'homeassistant/light/Grid_Living/config', message: '{'name': 'Grid Living', 'unique_id': 'ha-mqtt_light_Grid_Living_', 'state_topic': 'ha-mqtt/light/Grid_Living/state', 'json_attributes_topic': 'ha-mqtt/light/Grid_Living/attr', 'device': {'configuration_url': 'http://192.168.1.119:1880/', 'identifiers': 'specialId', 'manufacturer': 'RVC Integration', 'model': 'Grid_Light', 'sw_version': '0.0.1', 'unique_id': 'gridlr39', 'name': 'Living Grid'}, 'command_topic': 'ha-mqtt/light/Grid_Living/set', 'effect_state_topic': 'ha-mqtt/light/Grid_Living/effect/state', 'effect_command_topic': 'ha-mqtt/light/Grid_Living/effect/set', 'brightness_state_topic': 'ha-mqtt/light/Grid_Living/brightness/state', 'brightness_command_topic': 'ha-mqtt/light/Grid_Living/brightness/set', 'payload_on': 'ON', 'payload_off': 'OFF', 'effect_list': ['flash', 'scan', 'dim'], 'platform': 'mqtt'}'
2024-04-04 12:15:09.278 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'extra keys not allowed @ data['device']['unique_id']' when processing MQTT discovery message topic: 'homeassistant/light/Kitchen_Ceiling/config', message: '{'name': 'Kitchen Ceiling', 'unique_id': 'ha-mqtt_light_Kitchen_Ceiling_', 'state_topic': 'ha-mqtt/light/Kitchen_Ceiling/state', 'json_attributes_topic': 'ha-mqtt/light/Kitchen_Ceiling/attr', 'device': {'configuration_url': 'http://192.168.1.119:1880/', 'identifiers': 'specialId', 'manufacturer': 'RVC Integration', 'model': 'Sink_Light_46', 'sw_version': '0.0.1', 'unique_id': 'sink46', 'name': 'Kitchen Ceiling PS 42'}, 'command_topic': 'ha-mqtt/light/Kitchen_Ceiling/set', 'effect_state_topic': 'ha-mqtt/light/Kitchen_Ceiling/effect/state', 'effect_command_topic': 'ha-mqtt/light/Kitchen_Ceiling/effect/set', 'brightness_state_topic': 'ha-mqtt/light/Kitchen_Ceiling/brightness/state', 'brightness_command_topic': 'ha-mqtt/light/Kitchen_Ceiling/brightness/set', 'payload_on': 'ON', 'payload_off': 'OFF', 'effect_list': ['flash', 'scan', 'dim'], 'platform': 'mqtt'}'
2024-04-04 12:15:09.285 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'extra keys not allowed @ data['device']['unique_id']' when processing MQTT discovery message topic: 'homeassistant/switch/Sink_Switch/config', message: '{'name': 'Sink Switch', 'unique_id': 'ha-mqtt_switch_Sink_Switch_', 'state_topic': 'ha-mqtt/switch/Sink_Switch/state', 'json_attributes_topic': 'ha-mqtt/switch/Sink_Switch/attr', 'device': {'configuration_url': 'http://192.168.1.44:1880/', 'identifiers': 'specialId', 'manufacturer': 'RVC Integration', 'model': 'Sink_Light_46', 'sw_version': '0.0.1', 'unique_id': 'sink46', 'name': 'Sink'}, 'command_topic': 'ha-mqtt/switch/Sink_Switch/set', 'payload_on': 'ON', 'payload_off': 'OFF', 'state_on': 'ON', 'state_off': 'OFF', 'platform': 'mqtt'}'
2024-04-04 12:15:13.090 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'extra keys not allowed @ data['device']['unique_id']' when processing MQTT discovery message topic: 'homeassistant/light/Living_Grid_New/config', message: '{'name': 'Living Grid New', 'unique_id': 'gridlr12345', 'state_topic': 'ha-mqtt/light/Living_Grid_New/state', 'json_attributes_topic': 'ha-mqtt/light/Living_Grid_New/attr', 'device': {'configuration_url': 'http://192.168.1.119:1880/', 'identifiers': 'specialId', 'manufacturer': 'RVC Integration', 'model': 'Grid_Light', 'sw_version': '0.0.1', 'unique_id': 'gridlr39', 'name': 'Living Grid'}, 'command_topic': 'ha-mqtt/light/Living_Grid_New/set', 'effect_state_topic': 'ha-mqtt/light/Living_Grid_New/effect/state', 'effect_command_topic': 'ha-mqtt/light/Living_Grid_New/effect/set', 'brightness_state_topic': 'ha-mqtt/light/Living_Grid_New/brightness/state', 'brightness_command_topic': 'ha-mqtt/light/Living_Grid_New/brightness/set', 'payload_on': 'ON', 'payload_off': 'OFF', 'configuration_url': 'http://10.0.0.4:1880/', 'identifiers': 'specialId', 'manufacturer': 'SuperPuper', 'model': 'Greatest-Sensor', 'sw_version': '0.0.1', 'platform': 'mqtt'}'
2024-04-04 12:15:13.093 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'extra keys not allowed @ data['device']['unique_id']' when processing MQTT discovery message topic: 'homeassistant/switch/Sink_Switch/config', message: '{'name': 'Sink Switch', 'unique_id': 'ha-mqtt_switch_Sink_Switch_', 'state_topic': 'ha-mqtt/switch/Sink_Switch/state', 'json_attributes_topic': 'ha-mqtt/switch/Sink_Switch/attr', 'device': {'configuration_url': 'http://192.168.1.44:1880/', 'identifiers': 'specialId', 'manufacturer': 'RVC Integration', 'model': 'Sink_Light_46', 'sw_version': '0.0.1', 'unique_id': 'sink46', 'name': 'Sink'}, 'command_topic': 'ha-mqtt/switch/Sink_Switch/set', 'payload_on': 'ON', 'payload_off': 'OFF', 'state_on': 'ON', 'state_off': 'OFF', 'platform': 'mqtt'}'
2024-04-04 12:15:13.094 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'extra keys not allowed @ data['device']['unique_id']' when processing MQTT discovery message topic: 'homeassistant/light/Bed_Vanity/config', message: '{'name': 'Bed Vanity', 'unique_id': 'ha-mqtt_light_Bed_Vanity_', 'state_topic': 'ha-mqtt/light/Bed_Vanity/state', 'json_attributes_topic': 'ha-mqtt/light/Bed_Vanity/attr', 'device': {'configuration_url': 'http://192.168.1.119:1880/', 'identifiers': 'specialId', 'manufacturer': 'RVC Integration', 'model': 'Bed_Vainity_Light', 'sw_version': '0.0.1', 'unique_id': 'bedvanity26', 'name': 'Bed Vanity'}, 'command_topic': 'ha-mqtt/light/Bed_Vanity/set', 'effect_state_topic': 'ha-mqtt/light/Bed_Vanity/effect/state', 'effect_command_topic': 'ha-mqtt/light/Bed_Vanity/effect/set', 'brightness_state_topic': 'ha-mqtt/light/Bed_Vanity/brightness/state', 'brightness_command_topic': 'ha-mqtt/light/Bed_Vanity/brightness/set', 'payload_on': 'ON', 'payload_off': 'OFF', 'effect_list': ['flash', 'scan', 'dim'], 'platform': 'mqtt'}'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels