Skip to content

Do not change point-in-time sensor state from None/unknown to 'none'#83

Merged
pnbruckner merged 1 commit into
masterfrom
none-state
May 24, 2023
Merged

Do not change point-in-time sensor state from None/unknown to 'none'#83
pnbruckner merged 1 commit into
masterfrom
none-state

Conversation

@pnbruckner

Copy link
Copy Markdown
Owner

Fixes #82

Possibly as far back as 2021.12, the string value of "none" is not allowed for a sensor entity that has a device class of timestamp. This will cause an exception. This change leaves the value as None (which results in "unknown", instead of changing it to the invalid value of "none".)

@pnbruckner pnbruckner merged commit ccc360a into master May 24, 2023
@pnbruckner pnbruckner deleted the none-state branch May 24, 2023 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No more Astronomical Dawn and Astronomical Dusk?

1 participant