Remove device class timestamp from device condition and trigger#48431
Remove device class timestamp from device condition and trigger#48431MartinHjelmare merged 5 commits intodevfrom
Conversation
|
@bramkragten are there any changes needed for the frontend? |
|
Hey there @cyberjunky, mind taking a look at this pull request as its been labeled with an integration ( |
|
I do not notice any on the front end as of right now, looks good!
…On Sun, Mar 28, 2021 at 8:19 AM Martin Hjelmare ***@***.***> wrote:
@bramkragten <https://github.com/bramkragten> are there any changes
needed for the frontend?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#48431 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASR3YZQIYX6ZMCBEUI4SWXTTF4UFHANCNFSM4Z57JIPQ>
.
|
|
Made it into something treat is more simple when you could have gone the
other way.
On Sun, Mar 28, 2021 at 8:24 AM 4Cure Foundation ***@***.***>
wrote:
… I do not notice any on the front end as of right now, looks good!
On Sun, Mar 28, 2021 at 8:19 AM Martin Hjelmare ***@***.***>
wrote:
> @bramkragten <https://github.com/bramkragten> are there any changes
> needed for the frontend?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#48431 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ASR3YZQIYX6ZMCBEUI4SWXTTF4UFHANCNFSM4Z57JIPQ>
> .
>
|
| "ipv4_address": ["IPv4 address", "", "mdi:server-network", None, True], | ||
| "ipv6_address": ["IPv6 address", "", "mdi:server-network", None, True], | ||
| "last_boot": ["Last boot", "", "mdi:clock", "timestamp", False], | ||
| "last_boot": ["Last boot", None, "mdi:clock", DEVICE_CLASS_TIMESTAMP, False], |
There was a problem hiding this comment.
Note that we don't change the icon, even though it should not be set when device class is set. I want to avoid a breaking change in this PR. We can fix this separately.
There was a problem hiding this comment.
Although technically setting the unit to None is also a breaking change.
There was a problem hiding this comment.
Lets add a small note so it ends up in the release notes. Better to mention it, even if it is small. (which you did 👍 )
I don't think so |
Breaking change
Proposed change
Type of change
Example entry for
configuration.yaml:# Example configuration.yamlAdditional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: