Skip to content

[tado] Apply status description if battery is low - #20762

Draft
andrewfg wants to merge 4 commits into
openhab:mainfrom
andrewfg:tado-blue-dot
Draft

[tado] Apply status description if battery is low#20762
andrewfg wants to merge 4 commits into
openhab:mainfrom
andrewfg:tado-blue-dot

Conversation

@andrewfg

Copy link
Copy Markdown
Contributor

Analog of #20758

Signed-off-by: Andrew Fiddian-Green software@whitebear.ch

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg andrewfg self-assigned this May 19, 2026
@andrewfg andrewfg added the enhancement An enhancement or new feature for an existing add-on label May 19, 2026
@andrewfg
andrewfg marked this pull request as draft May 19, 2026 18:29
@lsiepel
lsiepel requested a review from Copilot May 19, 2026 20:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 TadoZoneHandler to 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.

andrewfg added 3 commits May 19, 2026 23:21
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement An enhancement or new feature for an existing add-on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants