Last Updated:

Enhanced Date and Time Controls for Home Capability

S.C.O.R.E.ConvenienceDeviceControl

Overview

The introduction of Date, Time, and Date/Time entity types allows for more precise scheduling and capability within the home. This capability enables seamless integration with various devices, improving the overall convenience of managing daily activities.

Convenience icon

Benefits

  • Simplifies the scheduling of automated tasks like lighting and climate control based on specific times.
  • Enhances user experience by allowing more intuitive interactions with smart home systems.
  • Enables better coordination for family members through shared calendars and reminders.

Intent

This capability aims to provide users with advanced controls for scheduling home capability tasks based on specific date and time parameters. The outcome is a more organized and efficient home environment where tasks are executed automatically at the desired times.

Preconditions

  • Home Assistant must be installed and configured.
  • Integrations with smart devices should support date/time entity types.
  • User must have basic capability scripts set up in Home Assistant.
  • Home Assistant installed and configured.
  • Integration available and authenticated: ESPHome.
  • Device installed and reachable: RainMachine Version 2 (API 4.6.1).

Actors

  • Homeowner managing household schedules
  • Family member setting reminders for events
  • Child programming bedtime routines

Trigger

The capability is activated based on a specified date or time, prompting the capability system to check if any scheduled tasks need to be executed.

Workflow Diagram

flowchart TD
    A[Scheduled Date/Time] -->|Trigger Event| B{{Is Task Due?}}
    B -->|Yes| C[Execute Capability]
    C --> D[Task Completed]
    B -->|No| E[Wait for Next Trigger]

Workflow Description

1. Define Date/Time

User specifies the exact date and time for the capability task within Home Assistant.

2. Set Conditions

User can set additional conditions that must be met before the task is executed, such as presence detection.

3. Save Capability

The user saves the capability, allowing the system to monitor the specified date/time.

4. Monitor Trigger

Home Assistant continuously checks if the current date/time matches any scheduled tasks.

5. Execute Task

Once the specified time is reached, the capability task is executed, such as turning on lights or adjusting the thermostat.

Postconditions

Upon completion, the specified task is executed, and the system is ready to monitor for any future scheduled events.

Optional Enhancements

  • Add voice control capability for setting date/time tasks using smart speakers.
  • Integrate with external calendar services for automatic updates.
  • Enable notifications for users before tasks are executed.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantESPHome, TasmotaRainMachine Version 2 (API 4.6.1), Garage Door Opener

Source Examples