Option to disable LWT reporting for DeepSleep devices (Home Assistant integration) #16031
Replies: 3 comments 2 replies
-
Working earlier, but not with current integration is a Feature Request? |
Beta Was this translation helpful? Give feedback.
-
It is a Feature Request because it was never implemented in the new integration. There were several discussions about this and the solution back then was to config everything manual in HA when having deep sleep. Your request is to make Deep Sleep be supported for the new HA integration (or at least LWT configurable). The previous auto discovery is deprecated and not everything has been added to the new one. Anyone interested on programming it and providing a pull request is more than welcome. |
Beta Was this translation helpful? Give feedback.
-
We are working on this right now. Also battery level will be supported soon. |
Beta Was this translation helpful? Give feedback.
-
PROBLEM DESCRIPTION
DEEPSLEEP_LWT_HA_DISCOVERY
does not work with new Home Assistant integration (from #8724)It was a fix for #8655, a problem that is back when using the new method over legacy discovery
I can't prevent the battery operated devices to show "unavailable" on Home Assistant while the devices are deep sleeping.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Use any sensor device, send command
DeepsleepTime 90
and see it go unavailable in Home Assistant.EXPECTED BEHAVIOUR
Use any sensor device, send command
DeepsleepTime 90
and see it retain its value in Home Assistant, at least for "DeepSleepTime length seconds"SCREENSHOTS
(I was debugging -> different intervals)
ADDITIONAL CONTEXT
I think this is still a design issue with the usage of LWT messages and deep sleeping devices.
Any remote thermometer or sth like that will show the last received value for some time, maybe hours after the sender went offline.
(Please, remember to close the issue when the problem has been addressed)
Beta Was this translation helpful? Give feedback.
All reactions