-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add option to treat events that starts and ends at midnight as all day events #38874
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?
Add option to treat events that starts and ends at midnight as all day events #38874
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe documentation for the Remote Calendar integration was updated to add a new configuration parameter. This parameter allows users to treat events that start and end at midnight in the Home Assistant time zone as all-day events. The documentation now includes a description of this option, an example snippet demonstrating its use, and an explanation within the configuration section. No changes to code or functional behavior are present; all updates are limited to documentation. Changes
Sequence Diagram(s)No sequence diagram generated as the changes are documentation-only and do not affect control flow or introduce new features in the codebase. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (2)
source/_integrations/remote_calendar.markdown (2)
42-43
: Hyphenate “all-day” when used as a modifier
When used adjectivally, “all-day events” should be hyphenated for clarity.{% configuration_basic %} -Treat events that start and end at midnight as all day events: +Treat events that start and end at midnight as all-day events: {% endconfiguration_basic %}🧰 Tools
🪛 LanguageTool
[uncategorized] ~42-~42: When ‘all-day’ is used as a modifier, it is usually spelled with a hyphen.
Context: ...vents that start and end at midnight as all day events: description: Enable to treat ...(ALL_DAY_HYPHEN)
[uncategorized] ~43-~43: When ‘all-day’ is used as a modifier, it is usually spelled with a hyphen.
Context: ...the same time zone as Home Assistant as all day events. {% endconfiguration_basic %} #...(ALL_DAY_HYPHEN)
43-43
: Refine description phrasing for clarity
The description’s current phrasing (“Enable to treat…”) can be made more natural by indicating the behavior when toggled.- description: Enable to treat events that start and end at midnight in the same time zone as Home Assistant as all day events. + description: When enabled, treats events that start and end at midnight in the same time zone as Home Assistant as all-day events.🧰 Tools
🪛 LanguageTool
[uncategorized] ~43-~43: When ‘all-day’ is used as a modifier, it is usually spelled with a hyphen.
Context: ...the same time zone as Home Assistant as all day events. {% endconfiguration_basic %} #...(ALL_DAY_HYPHEN)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/remote_calendar.markdown
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/remote_calendar.markdown
[uncategorized] ~42-~42: When ‘all-day’ is used as a modifier, it is usually spelled with a hyphen.
Context: ...vents that start and end at midnight as all day events: description: Enable to treat ...
(ALL_DAY_HYPHEN)
[uncategorized] ~43-~43: When ‘all-day’ is used as a modifier, it is usually spelled with a hyphen.
Context: ...the same time zone as Home Assistant as all day events. {% endconfiguration_basic %} #...
(ALL_DAY_HYPHEN)
🔇 Additional comments (1)
source/_integrations/remote_calendar.markdown (1)
39-40
: Including the option flow snippet in the right place
Adding the{% include integrations/option_flow.md %}
before the new configuration fields aligns with the standard option flow UI documentation pattern.
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.
Thank you, @oyvindwe 👍
Proposed change
Document new configuration option to the Remote Calendar integration.
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit