Sensors entity_id's are localised
See original GitHub issueHome Assistant Android version: 2021.2.2-full
Android version: 10
Phone model: OnePlus 7 Pro
Home Assistant version: 2021.2.3
Last working Home Assistant release (if known): n/a
Description of problem:
The generated entity_id
’s for the sensors are suddenly localized. This happened to me when I re-installed the app today. Since the sensor information screen within the app contain the unique id
property, I think this is a bug. On another phone where I didn’t reinstall, this behavior did not show itself. See below.
Screenshot of problem:
Re-installed phone:
Old phone:
Additional information:
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Binary sensor problem: Entity id already exists: binary_sensor ...
I've added a second movement binary sensor to my binary_sensors.yaml include and I'm getting the following error: 2018-12-09 00:36:36 ERROR ...
Read more >[homeassistant.helpers.entity_component] Forced update ...
The problem as per request in #70187 (comment) and #68661 (comment) a re-raised issue on the integration happening on each automated trigger ...
Read more >Configuring devices on the network with ease, and entity ...
Any configuration or diagnostic entities are not exposed, and if you have them in a group, service calls won't touch them unless you...
Read more >Entity Sensor | Plethora
The entity sensor provides a way to query information about surrounding entities. There are so many ways this could go wrong… Module: plethora:sensor...
Read more >This entity does not have a unique ID, therefore its settings ...
By the looks of it, you are sending multiple V_Types (V_STATUS, V_VAR1, V_VAR2) to a single child sensor ID (2). I guess this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You need to change the language on the device before adding new sensors, this is as designed. If you reinstall you need to make sure to change the language to what you expected. Your best bet is to remove integration, clear data in the app, log back in, change language. The battery sensors are the only one that default to your system language and need to be changed manually.
@dshokouhi I believe we can fix this by adding code to apply locale to application class on starting as well as we do it for activities in baseActivity class. Unfortunately I don’t have configured environment to check and fix it right now.