-
-
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?
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.
Pull Request Overview
This PR adds comprehensive documentation for the new input_weekday integration, which provides a helper for managing weekday selections in Home Assistant automations. The integration allows users to define and dynamically control weekday-based automation triggers and conditions through the UI or YAML configuration.
Key changes:
- New integration documentation with configuration examples
- Comprehensive action reference table
- Practical automation examples showing time triggers and conditions
| description: List of initially selected weekdays. | ||
| required: false | ||
| type: list | ||
| default: a previous value is restored 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.
The default description should be more specific and clear. Consider: 'default: Previously selected weekdays are restored when Home Assistant restarts, if available'
| default: a previous value is restored if available | |
| default: Previously selected weekdays are restored when Home Assistant restarts, if available |
| | Action | Data | Description | | ||
| | ----------------- | ------------------- | ------------------------------------------------------------------- | | ||
| | `set_weekdays` | `weekdays` | Set the selected weekdays (replaces all current selections) | | ||
| | `add_weekday` | `weekday` | Add a single weekday to the selection | | ||
| | `remove_weekday` | `weekday` | Remove a single weekday from the selection | | ||
| | `toggle_weekday` | `weekday` | Toggle a single weekday (add if not selected, remove if selected) | | ||
| | `clear` | | Clear all selected weekdays | | ||
| | `reload` | | Reload `input_weekday` configuration | |
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.
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| 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 comment
The reason will be displayed to describe this comment to others. Learn more.
| 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. | |
| The **Input weekday** helper {% term integration %} allows you to define a selection of weekdays that can be controlled via the user interface. You can then use conditions and triggers on these days for {% term automation %}. This makes it easy to dynamically manage weekday-based automations without having to manually specify weekdays in your automation configuration. |
tiny rephrase. Fell free to tweak if you don't like it.
| 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. |
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.
| 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. | |
| To add a **Weekday Helper**, go to | |
| **{% my helpers title="Settings > Devices & services > Helpers" %}** and select **Add**. | |
| Next, choose the **{% my config_flow_start domain="input_weekday" title="Weekday" %}** option. |
| **{% 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. | ||
|
|
||
| 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 comment
The 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.
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Proposed change
Type of change
currentbranch).currentbranch).nextbranch).nextbranch).Additional information
Checklist
currentbranch.nextbranch.