-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Open
Passific
wants to merge
7
commits into
home-assistant:dev
Choose a base branch
from
Passific:dev
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add date and datetime conditions #128009
+694
−12
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
home-assistant
bot
added
cla-needed
core
Hacktoberfest
new-feature
cla-recheck
cla-signed
and removed
cla-recheck
cla-needed
labels
Oct 9, 2024
9 tasks
Passific
added a commit
to Passific/homeassistant-home-assistant.io
that referenced
this pull request
Oct 14, 2024
<!-- 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
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: