-
Notifications
You must be signed in to change notification settings - Fork 48
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
Discovered entities with a name that starts with the device name #152
Comments
Its probably a bug, I don't think device name should in the entity names already. can you "download diagnostics" from the mqtt device page for your camera and attach to this issue. |
config_entry-mqtt-467bbd8aaf33487b44d85ab0925677cb.json.txt |
i meant a bug in the generated discovery messages. As a workaround you can probably delete the HA Discovery "Name" prefix setting on the mqtt page in sonoff hack. |
The workaround should work.
Remove the 1st sprintf. |
Yes, that looks the correct fix to me |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
After the update to 2023.8.0 i get a warning:
Some MQTT entities have an entity name that starts with the device name. This is not expected. To avoid a duplicate name the device name prefix is stripped of the entity name as a work-a-round. Please inform the maintainer of the software application that supplies the affected entities to fix this issue.
List of affected entities:
switch.livingroom_cam_motion_detection
select.livingroom_cam_sensitivity
select.livingroom_cam_ir
binary_sensor.livingroom_cam_motion
camera.livingroom_cam_image
switch.livingroom_cam_switch_on
switch.livingroom_cam_local_record
switch.livingroom_cam_rotate
Will it be fixed in later releases?
The text was updated successfully, but these errors were encountered: