-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
Add time
platform
#81949
Add time
platform
#81949
Conversation
Hey there @home-assistant/core, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
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.
Looks good besides some very nitpicky issues, I can't wait to see this platform to be added so thanks for working on it! 🥇
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
Dear bot, this is definitely not stale (it could use a rebase though). |
* dev: (1718 commits) Reolink prevent ONVIF push being lost due to ConnectionResetError (home-assistant#91070) Ensure recorder always attempts clean shutdown if recorder thread raises (home-assistant#91261) Use fast path for track_time_change that fires every second (home-assistant#91432) Improve performance of tracking time changes (home-assistant#91433) Add ability to shutdown a Debouncer (home-assistant#91439) Bump yalexs to 1.3.0 (home-assistant#91431) History API entity_id validation (home-assistant#90067) Add slots to dataclasses in default_config (home-assistant#91410) Delete obsolete lines and add some missing type hints in OpenTherm Gateway integration (home-assistant#90530) Remove duplicate webhook test (home-assistant#91420) Bump accuweather to version 0.5.1 (home-assistant#91412) Add webhook trigger allowed_methods/local_only options (home-assistant#66494) Save Thread dataset store when changing preferred dataset (home-assistant#91411) Allow GET in webhook triggers (home-assistant#56446) Rename Particulate matter sensors to PM (home-assistant#91384) Do not allow mqtt lights to set brightness to zero (home-assistant#91296) Bump onvif-zeep-async to 1.2.5 (home-assistant#91399) Support Sonos announcements using websockets (home-assistant#91145) Fix lingering timer in EntityRegistryDisabledHandler (home-assistant#91376) Fix lingering timers in analytics (home-assistant#91363) ...
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.
After some discussion, we decided we should add the attributes.
This is mostly, because they are "duplicates" of the existing state. I understand they are primarily a copy over from the input helpers, which makes sense, but they still, cause duplicate data to be kept in the state machine.
For now, let's remove them. If there is a bigger need, we can always introduce them later.
../Frenck
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Marking ready for review, as 2023.6 is now in dev. |
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.
Looks good to me, thanks @raman325 👍
../Frenck
Should it be added to Line 14 in 7b5d26d
|
Proposed change
Adds a new
time
platform. See home-assistant/architecture#811 for summary. Related to #81943 and #81948Type of change
Additional information
time
platform frontend#14390time
platform docs home-assistant.io#24987time
entity developer docs developers.home-assistant#1534Checklist
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
.To help with the load of incoming pull requests: