-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
Remove device class timestamp from device condition and trigger #48431
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>
> .
>
|
@@ -47,7 +48,7 @@ | |||
], | |||
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although technically setting the unit to None is also a breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.yaml
Additional 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: