Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Hold remaining sensor device class #214

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

ocrease
Copy link
Collaborator

@ocrease ocrease commented Nov 7, 2024

The hold time remaining sensor should use a SensorDeviceClass.DURATION. Previously:

image

Now with the device class set:

image

Sadly the display still shows with seconds, but that's down to HA:

image

On the plus side it gives it a nice default icon!

There is a Feature Request open on the HA forums, so maybe one day it will be improved.

@MindrustUK MindrustUK merged commit f4349f0 into MindrustUK:dev Nov 11, 2024
2 checks passed
@ocrease ocrease deleted the HoldRemaining branch November 11, 2024 16:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants