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

Changed default status from unavailable to none. #279

Closed
wants to merge 4 commits into from

Conversation

ArnyminerZ
Copy link
Collaborator

Should fix #278. Not sure about the translations file, but as far as I have found in the Home Assistant Docs it should be done this way.

Take a look and see if it's correct 😄

@ArnyminerZ ArnyminerZ added the feature New feature or request label Jun 26, 2021
@ArnyminerZ ArnyminerZ self-assigned this Jun 26, 2021
@github-actions github-actions bot added the translation Translations label Jun 26, 2021
Copy link
Collaborator

@KapJI KapJI left a comment

Choose a reason for hiding this comment

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

No, it's not correct.

The reason why it's unavailable is that it's compatible with timestamp device class. It only support unknown and unavailable as valid values which are not a timestamp. You can see that none is rendered in the UI incorrectly, something like "invalid format".

I believe that HA's android alarm sensor behaves the same way.

@ArnyminerZ ArnyminerZ closed this Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request translation Translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timer / Alarm entities set to Unavailable if no timers/alarms, should be none
2 participants