[tado] Apply status description if battery is low - #20762
Draft
andrewfg wants to merge 4 commits into
Draft
Conversation
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
andrewfg
marked this pull request as draft
May 19, 2026 18:29
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the tado binding to surface a localized Thing status description (enabling the WebUI “blue dot”) when a zone reports a low-battery condition, analogous to the approach used in the referenced hue PR.
Changes:
- Added a new i18n text key for an ONLINE low-battery status description.
- Introduced a binding constant for the
@text/...pointer to that new i18n key. - Updated
TadoZoneHandlerto set/clear the Thing’s ONLINE status description based on the zone battery-low alarm state.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| bundles/org.openhab.binding.tado/src/main/resources/OH-INF/i18n/tado.properties | Adds the localized message for the low-battery ONLINE status description. |
| bundles/org.openhab.binding.tado/src/main/java/org/openhab/binding/tado/internal/TadoBindingConstants.java | Adds a constant for the translatable @text/online.battery-low pointer. |
| bundles/org.openhab.binding.tado/src/main/java/org/openhab/binding/tado/internal/handler/TadoZoneHandler.java | Applies/clears the ONLINE status description based on the battery-low alarm state. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Analog of #20758
Signed-off-by: Andrew Fiddian-Green software@whitebear.ch