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

Battery sensor disappear after updating to 4.0.8 #1554

Closed
sasukebinbin opened this issue Jan 26, 2025 · 5 comments
Closed

Battery sensor disappear after updating to 4.0.8 #1554

sasukebinbin opened this issue Jan 26, 2025 · 5 comments
Labels
question Further information is requested

Comments

@sasukebinbin
Copy link

No error logs found
Enabled debug, also no relevant logs found.
Everything works fine just the battery sensor missing.

@AlexxIT AlexxIT added the invalid This doesn't seem right label Jan 26, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 26, 2025

The integration has over 400 different device models. From your description, it's hard to help you.

@sasukebinbin
Copy link
Author

Ooops so sorry! Forgot to put device info.
It's a xiaomi.sensor_occupy.03
Connecting to: Xiaomi Smart Home Hub 2

@AlexxIT AlexxIT added question Further information is requested and removed invalid This doesn't seem right labels Jan 26, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 26, 2025

This sensor shows only after devices sends it. If you don't have this sensor - the device hasn't sent its value yet.

It also happens that when you update the firmware of the device or gateway, such a sensor disappears forever. Therefore, it is marked as optional (lazy init). Integration can't help you with that in any way.

BaseConv("battery", "sensor", mi="3.p.1003", entity=ENTITY_LAZY),

@AlexxIT AlexxIT closed this as completed Jan 26, 2025
@sasukebinbin
Copy link
Author

Thanks for the reply. But I didn't update the firmware of the device or gateway. And Auto update was disabled.
Current firmware of the device is 2.0.1_0104
The issue happened right after I update Gateway3 and HA to latest.
And When I Send command for device info I can see battery info was there.

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 26, 2025

Show device page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants