Open gabest11 opened 4 weeks ago
Name | Link |
---|---|
Latest commit | 3c620749841c2b23a02fc1e94c2aa34a4bf4787c |
Latest deploy log | https://app.netlify.com/sites/esphome/deploys/67286061f3f9b00008995aa0 |
Deploy Preview | https://deploy-preview-4410--esphome.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
The documentation for the "Deep Sleep Component" has been updated to include new features and configuration options. Notably, a "Deep Sleep Guard" switch has been introduced, allowing users to prevent the device from entering deep sleep mode. The configuration now includes optional parameters deep_sleep_id
and guard
. The existing actions deep_sleep.enter
and deep_sleep.prevent
remain, with added emphasis on their interaction with the new guard feature.
File Path | Change Summary |
---|---|
components/deep_sleep.rst | Updated documentation to include the "Deep Sleep Guard" switch, new configuration options (deep_sleep_id and guard ), and clarified interactions with existing actions (deep_sleep.enter , deep_sleep.prevent ). |
sequenceDiagram
participant User
participant DeepSleepComponent
participant GuardSwitch
User->>DeepSleepComponent: Request to enter deep sleep
alt Guard is enabled
GuardSwitch-->>DeepSleepComponent: Prevent deep sleep
DeepSleepComponent-->>User: Ignored request
else Guard is disabled
DeepSleepComponent-->>User: Enter deep sleep
end
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
The documentation for the "Deep Sleep Component" has been updated to include new features and configuration options. A new "Deep Sleep Guard" switch has been introduced, which prevents the device from entering deep sleep mode when enabled. This update includes new configuration parameters: deep_sleep_id
and guard
, enhancing the management of the deep sleep functionality while retaining existing actions like deep_sleep.prevent
and deep_sleep.allow
.
File | Change Summary |
---|---|
components/deep_sleep.rst | Updated documentation to include new features: added "Deep Sleep Guard" switch and new config options deep_sleep_id and guard . Retained existing sections on deep_sleep.prevent and deep_sleep.allow . |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description:
Related issue (if applicable): fixes
Pull request in esphome with YAML changes (if applicable): esphome/esphome#7718
Checklist:
[x] I am merging into
next
because this is new documentation that has a matching pull-request in esphome as linked above.or
[ ] I am merging into
current
because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.[ ] Link added in
/index.rst
when creating new documents for new components or cookbook.