Closed BlaM closed 2 months ago
Thanks for raising this and providing so much detail.
Battery notes can only be added to entities that are created via the UI, config.yaml entities do not have enough detail for battery notes to create the associated entities unfortunately.
I'll update with nicer handling of this error but unfortunately you won't be able to add battery notes to these entities.
I kind of thought that it might be something like that - just the error message was not very helpful 👍
System Health details
System Information
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 | 1389 Downloaded Repositories | 60Airly
can_reach_server | ok -- | -- requests_remaining | 42 requests_per_day | 100Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | December 20, 2024 at 1:00 AM relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | true remote_server | eu-central-1-15.ui.nabu.casa certificate_status | ready instance_id | fcb44a216d85445a946cf653bd2aa6ab can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 12.4 -- | -- update_channel | stable supervisor_version | supervisor-2024.06.2 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 234.0 GB disk_used | 127.7 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | Advanced SSH & Web Terminal (18.0.0), Studio Code Server (5.15.0), Node-RED (18.0.4), MariaDB (2.7.1), InfluxDB (5.0.0), ESPHome (2024.6.6), Grafana (10.0.0), Zigbee2MQTT (1.39.0-1), Matter Server (6.2.1)Dashboards
dashboards | 9 -- | -- resources | 33 views | 29 mode | storageRecorder
oldest_recorder_run | November 25, 2023 at 1:55 PM -- | -- current_recorder_run | July 11, 2024 at 2:31 PM estimated_db_size | 9762.33 MiB database_engine | mysql database_version | 10.11.6Checklist
battery_notes:
to my configuration.yaml and restarted.Describe the issue
I'm trying to add battery notes to an entity that does not have a device (a
plant.
sensor that is set up through configuration.yaml).When I press the "NEXT" button on the setup wizard where I selected the entity I get an "Unknown error occured" message and the corresponding http request contains this:
Reproduction steps
In config.yaml have something like this:
On the Devices page add an integration "Battery Notes"
Select "Entity"
Choose the new plant entity
plant.flower1
Press NEXT
See Error
Debug logs
Diagnostics dump
I