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

Align state display with Home Assistant #1592

Merged
merged 4 commits into from
Nov 22, 2024
Merged

Conversation

piitaya
Copy link
Owner

@piitaya piitaya commented Nov 22, 2024

Description

Use HA helpers to display state and attributes value. Remove the backward compatibility as it's not needed anymore

Related Issue

This PR fixes or closes issue: fixes #1591, fixes #1561

Motivation and Context

How Has This Been Tested

Types of changes

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 🌎 Translation (addition or update a translation)
  • ⚙️ Tech (code style improvement, performance improvement or dependencies bump)
  • 📚 Documentation (fix or addition in the documentation)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have tested the change locally.
  • I followed the steps if I add a new language .

@piitaya piitaya added the bug Something isn't working label Nov 22, 2024
@piitaya piitaya changed the title State display improvement Align state display with Home Assistant Nov 22, 2024
@piitaya piitaya force-pushed the state_display_improvement branch from de3c1c1 to b6f2615 Compare November 22, 2024 11:39
@piitaya piitaya marked this pull request as ready for review November 22, 2024 16:49
@piitaya piitaya merged commit 5dd507f into main Nov 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant