-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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 date and datetime conditions #128009
base: dev
Are you sure you want to change the base?
Add date and datetime conditions #128009
Conversation
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.
<!-- You are amazing! Thanks for contributing to our project! Please, DO NOT DELETE ANY TEXT from this template! (unless instructed). Before submitting your pull request, please verify that you have chosen the correct target branch, and that the PR preview looks fine and does not include unrelated changes. --> ## Proposed change <!-- Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue in the additional information section. --> The goal is to be able to not only compare time, but also date and datetime. It's a missing feature that I need for my own setup, but as I was look for it, I noticed I was not the only one. There are some ticket (home-assistant#24317), but also [forum discussions](https://community.home-assistant.io/t/automation-during-date-range/133814) about it. ## Type of change <!-- What types of changes does your PR introduce to our documentation/website? Put an `x` in the boxes that apply. You can also fill these out after creating the PR. --> - [ ] Spelling, grammar or other readability improvements (`current` branch). - [ ] Adjusted missing or incorrect information in the current documentation (`current` branch). - [ ] Added documentation for a new integration I'm adding to Home Assistant (`next` branch). - [ ] I've opened up a PR to add logos and icons in [Brands repository](https://github.com/home-assistant/brands). - [x] Added documentation for a new feature I'm adding to Home Assistant (`next` branch). - [ ] Removed stale or deprecated documentation. ## Additional information <!-- Details are important, and help maintainers processing your PR. Please be sure to fill out additional details, if applicable. --> - Link to parent pull request in the codebase: home-assistant/core#128009 - Link to parent pull request in the Brands repository: - This PR fixes or closes issue: fixes home-assistant/core#24317 ## Checklist <!-- Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code. --> - [x] This PR uses the correct branch, based on one of the following: - I made a change to the existing documentation and used the `current` branch. - I made a change that is related to an upcoming version of Home Assistant and used the `next` branch. - [x] The documentation follows the Home Assistant documentation [standards]. [standards]: https://developers.home-assistant.io/docs/documenting/standards
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.
Mypy is failing, can you take a look?
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
I think I found all the issues related to my PR, CI is failing on different topics depending on master's merges, so I expect the last error comes from master also. |
Proposed change
The goal is to be able to not only compare time, but also date and datetime.
It's a missing feature that I need for my own setup, but as I was looking for it, I noticed I was not the only one.
There is one ticket (#24317), but also forum discussions about it.
Type of change
Additional information
Checklist
ruff format 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
.To help with the load of incoming pull requests: