-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto discovery does not add new device (SONOFF ZBMINI) #1562
Comments
The problem would be the ZBMINI is a profile for smart switches, but your entity is a light |
I see the issue, thanks for the hint! zigbee2mqtt automatically changes the configuration of the device to a As I see the module schema, it is currently not possible, to have two "0x80.......": {
"friendly_name": "Büro Deckenlicht",
"homeassistant": {
"light": {
"state_value_template": "{{ value_json.state }}",
"value_template": null
},
"switch": {
"object_id": "light",
"type": "light"
}
}
}, |
The device is integrated by the mqtt integration with homeassistant auto detection |
I see. Could you have a look info Check in Powercalc is done here: Hue always creates a |
Found a workaround: Deleted the homeassistant configuration in zigbee2mqtt, now the device is detected as Now the device is auto-detected twice:
|
hmm yes, I see. |
Here the requested JSON. {
"aliases": [],
"area_id": null,
"capabilities": null,
"config_entry_id": "f79c7015f8b1cd121a0f593a1cdcebf2",
"device_class": null,
"device_id": "3855b433bc699e14539807fbfddf31c5",
"disabled_by": null,
"entity_category": null,
"entity_id": "switch.buro_deckenlicht",
"hidden_by": "integration",
"icon": null,
"id": "f0b3e39fc7a9c5e301f8e7041acf586b",
"has_entity_name": false,
"name": null,
"options": {},
"original_device_class": null,
"original_icon": null,
"original_name": "Büro Deckenlicht",
"platform": "mqtt",
"supported_features": 0,
"translation_key": null,
"unique_id": "0x80......._switch_zigbee2mqtt",
"unit_of_measurement": null
},
{
"aliases": [],
"area_id": null,
"capabilities": {
"supported_color_modes": [
"onoff"
]
},
"config_entry_id": "a02039d95ad8f03ae1de4f5f14fa1cac",
"device_class": null,
"device_id": "3855b433bc699e14539807fbfddf31c5",
"disabled_by": null,
"entity_category": null,
"entity_id": "light.buro_deckenlicht",
"hidden_by": null,
"icon": null,
"id": "ebe9008e606db6b63524b2580364191c",
"has_entity_name": false,
"name": null,
"options": {},
"original_device_class": null,
"original_icon": null,
"original_name": "Büro Deckenlicht",
"platform": "switch_as_x",
"supported_features": 0,
"translation_key": null,
"unique_id": "a02039d95ad8f03ae1de4f5f14fa1cac",
"unit_of_measurement": null
}, |
I have made a fix with #1563 Your solution to make it a light with the HA helpers is correct. |
Will make a release later this week. When you want to install the fix you can install the master branch with HACS (check allow beta versions). |
Works, thanks! 😊 |
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Checklist
Describe the issue
The recently added SONOFF ZBMINI is auto-detected, but not detected or added as new device.
Reproduction steps
Debug logs
Diagnostics dump or YAML config
No response
The text was updated successfully, but these errors were encountered: