Blueprints are stored in blueprints/automation/yarbo/. They work with any HA weather or sensor provider.
File: blueprints/automation/yarbo/pause_on_rain.yaml
Pauses the robot and sends it to dock when rain is detected, then optionally resumes after rain stops and a dry delay elapses.
| Input | Type | Default | Description |
|---|---|---|---|
yarbo_device |
device |
— | Target Yarbo device |
rain_sensor |
entity |
— | Binary sensor (moisture/rain) that turns on when raining |
dry_delay_minutes |
int |
30 |
Minutes to wait after rain stops before resuming |
auto_resume |
bool |
true |
Automatically resume job after dry delay |
- When
rain_sensorturnsonand robotactivityismowingorsnow_blowing:- Call
yarbo.pause - Call
yarbo.return_to_dock - Fire notification (if notify target provided)
- Call
- When
rain_sensorturnsoff:- Wait
dry_delay_minutes - If
auto_resumeis true and robot is still docked: callyarbo.resume
- Wait
blueprint:
name: "Yarbo: Pause on Rain"
domain: automation
input:
yarbo_device:
selector:
device:
integration: yarbo
rain_sensor:
selector:
entity:
device_class: moistureFile: blueprints/automation/yarbo/snow_deployment.yaml
Sends a notification (and optionally starts a plan) when a snowfall forecast exceeds a threshold.
| Input | Type | Default | Description |
|---|---|---|---|
yarbo_device |
device |
— | Target Yarbo device |
weather_entity |
entity |
— | Weather entity with forecast support |
snowfall_threshold_cm |
float |
2.5 |
Minimum expected snowfall to trigger |
notify_target |
str |
— | Notification target (e.g., notify.mobile_app) |
auto_start_plan |
bool |
false |
Automatically start a saved plan |
plan_id |
str |
— | Plan UUID to start (required if auto_start enabled) |
- Uses HA's
weather.get_forecaststo check hourly or daily snowfall accumulation. - Only triggers once per forecast event (uses
input_booleanhelper to track state). - Works with any HA-compatible weather provider (Met.no, OpenWeatherMap, AccuWeather, etc.).
File: blueprints/automation/yarbo/low_battery_notify.yaml
Notifies when the robot battery drops below a configurable threshold while the robot is not docked.
| Input | Type | Default | Description |
|---|---|---|---|
yarbo_device |
device |
— | Target Yarbo device |
battery_threshold |
int |
20 |
Battery percentage to trigger notification |
notify_target |
str |
— | Notification service target |
notify_message |
str |
"Yarbo battery is low ({battery}%)" |
Notification message template |
- Fires at most once per job (tracks via automation mode
single). - Resets when robot docks and begins charging.
- Also available as a built-in HA event trigger:
yarbo_low_battery.
File: blueprints/automation/yarbo/job_complete_notify.yaml
Sends a notification when the robot finishes a job and returns to the dock.
| Input | Type | Default | Description |
|---|---|---|---|
yarbo_device |
device |
— | Target Yarbo device |
notify_target |
str |
— | Notification service target |
include_duration |
bool |
true |
Include job duration in message |
notify_message |
str |
"Yarbo finished! Job took {duration}." |
Message template |
Triggers on the event entity when event_type is yarbo_job_completed. Extracts duration_seconds from the event data to populate the message template.
# Example trigger block from blueprint
trigger:
- platform: event
event_type: yarbo_job_completed
event_data:
device_id: !input yarbo_device
action:
- variables:
duration: >
{{ (trigger.event.data.duration_seconds // 60) | string + " minutes" }}
- action: !input notify_target
data:
message: !input notify_message- Import blueprints via Settings → Automations & Scenes → Blueprints → Import Blueprint.
- URL:
https://github.com/your-org/ha-yarbo-forge/blob/main/blueprints/automation/yarbo/{filename}.yaml - All blueprints are mode
singleby default to prevent duplicate triggers.