-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add input_weekday integration #41248
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
base: next
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,117 @@ | ||||||||||||||||
| --- | ||||||||||||||||
| title: Input weekday | ||||||||||||||||
| description: Instructions on how to use the input weekday helper with Home Assistant. | ||||||||||||||||
| ha_category: | ||||||||||||||||
| - Automation | ||||||||||||||||
| - Helper | ||||||||||||||||
| ha_release: 2025.11 | ||||||||||||||||
| ha_quality_scale: internal | ||||||||||||||||
| ha_codeowners: | ||||||||||||||||
| - '@home-assistant/core' | ||||||||||||||||
| ha_domain: input_weekday | ||||||||||||||||
| ha_integration_type: helper | ||||||||||||||||
| --- | ||||||||||||||||
|
|
||||||||||||||||
| The **Input weekday** helper integration allows you to define a selection of weekdays that can be controlled via the user interface and used within conditions and triggers of an {% term automation %}. This makes it easy to dynamically manage weekday-based automations without having to manually specify weekdays in your automation configuration. | ||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
tiny rephrase. Fell free to tweak if you don't like it. |
||||||||||||||||
|
|
||||||||||||||||
| ## Configuration | ||||||||||||||||
|
|
||||||||||||||||
| The preferred way to configure input weekday helpers is via the user interface, | ||||||||||||||||
| in which they are known as Weekday Helpers. To add one, go to | ||||||||||||||||
| **{% my helpers title="Settings > Devices & services > Helpers" %}** and click the add button; | ||||||||||||||||
| next choose the **{% my config_flow_start domain="input_weekday" title="Weekday" %}** option. | ||||||||||||||||
|
Comment on lines
+19
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||
|
|
||||||||||||||||
| To be able to add **Helpers** via the user interface you should have | ||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you think we can expect the majority of people to have that in their config? If so, I would move this section into a troubleshooting section further down the page. |
||||||||||||||||
| `default_config:` in your {% term "`configuration.yaml`" %}, it should already be there by | ||||||||||||||||
| default unless you removed it. If you removed `default_config:` from your | ||||||||||||||||
| configuration, you must add `input_weekday:` to your {% term "`configuration.yaml`" %} first, | ||||||||||||||||
| then you can use the UI. | ||||||||||||||||
|
|
||||||||||||||||
| Input weekdays can also be configured via {% term "`configuration.yaml`" %} file: | ||||||||||||||||
|
|
||||||||||||||||
| {% configuration %} | ||||||||||||||||
| input_weekday: | ||||||||||||||||
| description: Alias for the input. Multiple entries are allowed. | ||||||||||||||||
| required: true | ||||||||||||||||
| type: map | ||||||||||||||||
| keys: | ||||||||||||||||
| name: | ||||||||||||||||
| description: Friendly name of the input. | ||||||||||||||||
| required: false | ||||||||||||||||
| type: string | ||||||||||||||||
| weekdays: | ||||||||||||||||
| description: List of initially selected weekdays. | ||||||||||||||||
| required: false | ||||||||||||||||
| type: list | ||||||||||||||||
| default: a previous value is restored if available | ||||||||||||||||
|
||||||||||||||||
| default: a previous value is restored if available | |
| default: Previously selected weekdays are restored when Home Assistant restarts, if available |
Copilot
AI
Oct 9, 2025
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.
This table may not render well on mobile devices. According to the guidelines, tables should be avoided and lists used instead. Consider converting this to a bulleted list format with clear formatting for better mobile readability.
Uh oh!
There was an error while loading. Please reload this page.