From 42891083d9d5e9532cde1e3bdf306012b79e935e Mon Sep 17 00:00:00 2001 From: Corbin Black Date: Mon, 29 Jul 2024 04:03:41 -0500 Subject: [PATCH] =?UTF-8?q?Add=20calendar=20section=20to=20documentation.?= =?UTF-8?q?=20Explanations=20and=20example=20is=20pr=E2=80=A6=20(#33955)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add calendar section to documentation. Explanations and example is provided. * Apply suggestions from code review * Update source/_integrations/ridwell.markdown * Update source/_integrations/ridwell.markdown * Update source/_integrations/ridwell.markdown --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/ridwell.markdown | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/source/_integrations/ridwell.markdown b/source/_integrations/ridwell.markdown index 8a726b2d396..df6ebebc863 100644 --- a/source/_integrations/ridwell.markdown +++ b/source/_integrations/ridwell.markdown @@ -21,6 +21,30 @@ The Ridwell integration allows users to track waste recycling pickups scheduled {% include integrations/config_flow.md %} +## Calendar + +The calendar sensor contains a `calendar` state attribute, which contains: + +- The name of the Ridwell Calendar. +- If the event is an all-day event (Boolean). +- The start time of the calendar event. Starts at midnight. +- The end time of the event. Ends at midnight. +- The location of the event. +- The description of the items being picked up. +- Friendly name of the calendar event. + +For example: + +```yaml +message: Ridwell Pickup (scheduled) +all_day: true +start_time: 2024-07-26 00:00:00 +end_time: 2024-07-27 00:00:00 +location: +description: Pickup types: Light Bulbs (quantity: 1), Hand Tools (quantity: 1), Batteries (quantity: 1), Threads (quantity: 1), Plastic Film (quantity: 1) +friendly_name: Ridwell +``` + ## Pickup types The pickup sensor contains a `pickup_types` state attribute, which contains: