Skip to content
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

entity_id's don't take device name but manufacturer/model name #894

Closed
6 tasks done
jossiee opened this issue Feb 4, 2024 · 7 comments · Fixed by #911
Closed
6 tasks done

entity_id's don't take device name but manufacturer/model name #894

jossiee opened this issue Feb 4, 2024 · 7 comments · Fixed by #911
Labels
bug Something isn't working

Comments

@jossiee
Copy link
Contributor

jossiee commented Feb 4, 2024

System Health details

System Information

version core-2024.1.6
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.1.63-haos-raspi
arch aarch64
timezone Europe/Amsterdam
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1392
Downloaded Repositories 53
Home Assistant Cloud
logged_in true
subscription_expiration 3 februari 2025 om 01:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
remote_server eu-central-1-2.ui.nabu.casa
certificate_status ready
instance_id 304302a3e9bd4d598344ab67c4a352a2
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 11.4
update_channel stable
supervisor_version supervisor-2023.12.1
agent_version 1.6.0
docker_version 24.0.7
disk_total 219.4 GB
disk_used 23.9 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Duck DNS (1.15.0), Mosquitto broker (6.4.0), File editor (5.7.0), Check Home Assistant configuration (3.11.0), Advanced SSH & Web Terminal (17.1.0), Samba Backup (5.2.0), Studio Code Server (5.15.0), WireGuard (0.10.2), Samba share (12.2.0), SQLite Web (4.1.0), Node-RED (17.0.3), ESPHome (2023.12.9), eufy-security-ws (1.7.1), RTSP Simple Server Add-on (v0.17.6), Uptime Kuma (0.12.0), AdGuard Home (5.0.2), Silicon Labs Flasher (0.2.0)
Dashboards
dashboards 7
resources 36
views 28
mode storage
Recorder
oldest_recorder_run 5 januari 2024 om 11:01
current_recorder_run 4 februari 2024 om 22:06
estimated_db_size 2466.05 MiB
database_engine sqlite
database_version 3.41.2
Sonoff
version 3.5.4 (a4a8c5f)
cloud_online 2 / 2
local_online 2 / 2
Spotify
api_endpoint_reachable ok

Checklist

  • I have added battery_notes: to my configuration.yaml and restarted.
  • I have read the FAQ's.
  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

The entity's that get added do not all take on the proper name of the device. only _battery_low takes on device name the rest takes on the manufacturer and model name

a example.
image

debug:
home-assistant_battery_notes_2024-02-04T22-24-19.993Z.log

maybe this is not a bug but does feel like it.

Reproduction steps

just add device and see

Debug logs

file to big see uploaded .log.

Diagnostics dump

No response

@jossiee jossiee changed the title entity_id's don't take device name but type/model name entity_id's don't take device name but manufacturer/model name Feb 4, 2024
@andrew-codechimp
Copy link
Owner

Can you confirm if other devices are doing this as well?
Also - can you delete this device from battery notes (integrations/battery notes/find device, click on the dots and delete) then re-add it?

@jossiee
Copy link
Contributor Author

jossiee commented Feb 5, 2024

All devices have the same behavior.
In the first debug log you should see that i manually added a new device (near the end off the log file) called 3_voudig_schakelaar.

i tried removing and re-adding a device still the same result.

@andrew-codechimp
Copy link
Owner

Thanks for confirming, not clear yet what's causing it but I'll investigate

@andrew-codechimp andrew-codechimp added the bug Something isn't working label Feb 5, 2024
@andrew-codechimp
Copy link
Owner

I have identified the issue and am testing a fix. Hopefully it will be included in a release later this week.

For existing items, if you go into the device, rename the device temporarily, then rename it back, selecting Rename Entity ID's it will create the correct entity_id's.

@jossiee
Copy link
Contributor Author

jossiee commented Feb 6, 2024

I have identified the issue and am testing a fix. Hopefully it will be included in a release later this week.

For existing items, if you go into the device, rename the device temporarily, then rename it back, selecting Rename Entity ID's it will create the correct entity_id's.

unfortunatly it does not solve it. only the one that is already okay gets renamed

renamed
image

back to old name
image

i will wait for the fix and get back to you! thanks for now!

@andrew-codechimp andrew-codechimp linked a pull request Feb 7, 2024 that will close this issue
@jossiee
Copy link
Contributor Author

jossiee commented Feb 7, 2024

image

running 2.0.10 removed devices and re add them now it is fixed! thank you!

@andrew-codechimp
Copy link
Owner

Thanks for the very quick testing of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants