Skip to content
Marao 0.41.0

Schedules

Manage device schedules and seasonal timer groups in Home Assistant.

REAL MARAO CARDS

Card behaviors

Scroll through the real card’s behaviors using fictional data. Open its details to inspect the real popup. Offscreen examples reset when reloaded.

The documentation theme applies to every example. Use the playground below to edit configuration.

01

Default

Try the configured card with fictional devices.

Scroll to load this example.

02

New collection

Set up a new fictional schedule collection.

Scroll to load this example.

03

No target devices

An explicit empty target list never discovers devices automatically.

Scroll to load this example.

04

Reported API failure

Show a readable service error without claiming schedules were saved.

Scroll to load this example.

Try the card below. Select Open playground to choose a behavior or edit settings and YAML. Everything in the preview uses fictional devices. Copy YAML exports the card configuration, without demonstration states or service responses.

Loading preview…

In Home Assistant, choose Edit dashboard → Add card → Manual, then paste the YAML below. Replace fictional entity IDs with your own. You can also find the card in Home Assistant’s card picker and use its native editor.

type: custom:marao-schedules-card
name: Garden schedules
group_id: garden
targets:
- switch.garden
- valve.garden

An administrator sets up the collection and acknowledges dedicated devices. Home Assistant owns its automations; the browser does not need to stay open. Keep native Home Assistant backups before resource changes.

Groups are collapsible sections with only one open at a time. The active group opens initially; its switch activates or pauses it. Opening a section does not activate it. Pausing or switching groups does not cancel accepted timed runs. Use the labelled group-add control below the divider.

Timer rows show essential settings and an enable switch. Tap a timer to edit its name, local time, on/off action and weekdays in the popup. New timers use the card-configured devices and their parent section. Add a separate off timer rather than a duration; existing duration-based records retain their saved behavior.

Edits save automatically and errors remain visible. Closing with the top-right close button flushes pending changes; the red trash action deletes the timer. Weekdays use a themed multi-select dropdown. Add a timer with the left-aligned plus; Delete group appears beneath it on the right.

Configuration reloads and automation state changes refresh automatically. The card has no manual Refresh, Delete collection, device-status list, recovery export, duration editor or per-timer group/device picker. Structural external edits and ambiguous ownership remain read-only until reconciled.

The table lists the shared catalog fields and this card’s structured options. Not set means the example does not impose a value; Home Assistant and Marao use the entity’s capabilities and the card’s normal behavior. Structured values remain editable as YAML.

YAML path Setting Value type Catalog default Behavior
name Name text Not set Optional display name; otherwise use the entity’s friendly name.
icon Icon icon Not set Optional icon name such as mdi:lightbulb-outline. Searchable suggestions are available.
group_id Collection ID text Not set Stable collection identity shared by cards referring to the same schedule records.
targets Dedicated devices json Not set Explicit switch, valve or input_boolean entity IDs. Searchable suggestions are available.

Select Open playground, then choose a scenario to inspect its configuration and reported device state. Similar numeric or color values do not need separate examples.

Scenario What it demonstrates
Default Try the configured card with fictional devices.
New collection Set up a new fictional schedule collection.
No target devices An explicit empty target list never discovers devices automatically.
Reported API failure Show a readable service error without claiming schedules were saved.

All automation/helper records and device actions are in memory. The demonstration does not create schedules in Home Assistant or simulate elapsed-day execution.

Home Assistant owns card sizing, sections and visibility. Marao controls retain their touch targets and capability checks. Unknown, unavailable or disconnected entities use neutral presentation and disable unsafe actions. See layouts and popups and shared interactions.