SIM sensor attributes not updated
Home Assistant Android app version(s): 2025.11.4-full
Android version(s): 16
Device model(s): Samsung S25
Home Assistant version: 2025.11.3
Last working Home Assistant release (if known): -
Description of problem, include YAML if issue is related to notifications: My SIM sensor attributes (docs) don't update. Steps to reproduce:
- Read "data roaming" status
- Toggle data roaming for SIM card 1
- Read "data roaming" status, you can see it isn't updated.
When openening the sensor in the companion app, or disable and re-enable the sensor in the companion app, the correct status is shown and updated accordingly. Rebooting the phone doesn’t enforce the correct sensor state, nor does toggling flight mode.
Not sure if it this case for the other attributes as well, but I can't imagine this is expected behaviour?
Companion App Logs:
Screenshot or video of problem:
Additional information:
Sensor attributes only update when the state is updated or if entity is re-registered, why not use teh actual data roaming sensor?
https://companion.home-assistant.io/docs/core/sensors#mobile-data-sensors
My idea was to create a template to detect if I am roaming, by using attributes "Mobile Country Code" or "Mobile Network Code". I was just testing if I could force the sensor to change, the "data roaming" property is the only property I can actually change.
Sensor attributes only update when the state is updated or if entity is re-registered, why not use teh actual data roaming sensor?
https://companion.home-assistant.io/docs/core/sensors#mobile-data-sensors
I can confirm that the "carrier name" attribute is also not updated.