From 199156fe846b1a8080b82781e69a5b29f8064af7 Mon Sep 17 00:00:00 2001 From: Bambouzle <80892640+Bambouzle@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:39:17 +0100 Subject: [PATCH] Update SleepSensorBlueprint.yaml Description without comma raise an error in HA. Fix working in HA 2024.12.1 Error: mapping values are not allowed here in "", line 130, column 85 --- blueprint/SleepSensorBlueprint.yaml | 66 ++++++++++++++--------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/blueprint/SleepSensorBlueprint.yaml b/blueprint/SleepSensorBlueprint.yaml index 3c2ec91..186ddfc 100644 --- a/blueprint/SleepSensorBlueprint.yaml +++ b/blueprint/SleepSensorBlueprint.yaml @@ -1,12 +1,12 @@ blueprint: name: Sleep as Android MQTT sensor actions - description: Define actions based on the sensor states provided by the HA-SleepAsAndroid integration. See the [SleepAsAndroid docs](https://docs.sleep.urbandroid.org/services/automation.html#events) for more information. + description: "Define actions based on the sensor states provided by the HA-SleepAsAndroid integration. See the [SleepAsAndroid docs](https://docs.sleep.urbandroid.org/services/automation.html#events) for more information." domain: automation source_url: https://github.com/IATkachenko/HA-SleepAsAndroid/blob/main/blueprint/SleepSensorBlueprint.yaml input: sleep_entity: name: SleepAsAndroid Sensor - description: 'SleepAsAndroid sensor to use as trigger for the automation.' + description: "SleepAsAndroid sensor to use as trigger for the automation." selector: entity: filter: @@ -14,186 +14,186 @@ blueprint: multiple: false person: name: Person - description: Person for checking state + description: "Person for checking state" selector: entity: domain: person multiple: false state: name: State - description: Person must be in this state + description: "Person must be in this state" default: home sleep_tracking_started: name: sleep_tracking_started - description: sleep_tracking_started event + description: "sleep_tracking_started event" default: [] selector: action: {} sleep_tracking_stopped: name: sleep_tracking_stopped - description: sleep_tracking_stopped event + description: "sleep_tracking_stopped event" default: [] selector: action: {} sleep_tracking_paused: name: sleep_tracking_paused - description: sleep_tracking_paused event + description: "sleep_tracking_paused event" default: [] selector: action: {} sleep_tracking_resumed: name: sleep_tracking_resumed - description: sleep_tracking_resumed event + description: "sleep_tracking_resumed event" default: [] selector: action: {} alarm_snooze_clicked: name: alarm_snooze_clicked - description: You have snoozed a ringing alarm. + description: "You have snoozed a ringing alarm." default: [] selector: action: {} alarm_snooze_canceled: name: alarm_snooze_canceled - description: You have a canceled an alarm that is currently snoozed. + description: "You have a canceled an alarm that is currently snoozed." default: [] selector: action: {} time_to_bed_alarm_alert: name: time_to_bed_alarm_alert - description: Fires when you get a bedtime notification. + description: "Fires when you get a bedtime notification." default: [] selector: action: {} alarm_alert_start: name: alarm_alert_start - description: Fires when alarm starts. + description: "Fires when alarm starts." default: [] selector: action: {} alarm_alert_dismiss: name: alarm_alert_dismiss - description: Fires when you dismiss alarm (after you solve CAPTCHA, if it’s set). + description: "Fires when you dismiss alarm (after you solve CAPTCHA, if it’s set)." default: [] selector: action: {} alarm_skip_next: name: alarm_skip_next - description: Fires when you tap dismiss an alarm from notification before it actually rings. + description: "Fires when you tap dismiss an alarm from notification before it actually rings." default: [] selector: action: {} show_skip_next_alarm: name: show_skip_next_alarm - description: Fires exactly 1 hour before the next alarm is triggered. + description: "Fires exactly 1 hour before the next alarm is triggered." default: [] selector: action: {} rem: name: rem - description: Fires when Sleep estimates the start of REM phase. + description: "Fires when Sleep estimates the start of REM phase." default: [] selector: action: {} smart_period: name: smart_period - description: Fires at the start of the smart period. + description: "Fires at the start of the smart period." default: [] selector: action: {} before_smart_period: name: before_smart_period - description: Fires 45 minutes before the start of smart period. + description: "Fires 45 minutes before the start of smart period." default: [] selector: action: {} lullaby_start: name: lullaby_start - description: Fires when lullaby starts playing. + description: "Fires when lullaby starts playing." default: [] selector: action: {} lullaby_stop: name: lullaby_stop - description: Fires when lullaby is stopped (either manually or automatically). + description: "Fires when lullaby is stopped (either manually or automatically)." default: [] selector: action: {} lullaby_volume_down: name: lullaby_volume_down - description: Fires when Sleep detects you fell asleep and starts lowering the volume of lullabies. + description: "Fires when Sleep detects you fell asleep and starts lowering the volume of lullabies." default: [] selector: action: {} deep_sleep: name: deep_sleep - description: Fires when Sleep detects you going into deep sleep phase. Warning: This may result in lots of events during the night. + description: "Fires when Sleep detects you going into deep sleep phase. Warning: This may result in lots of events during the night." default: [] selector: action: {} light_sleep: name: light_sleep - description: Fires when Sleep detects you going into light sleep phase. Warning: This may result in lots of events during the night. + description: "Fires when Sleep detects you going into light sleep phase. Warning: This may result in lots of events during the night." default: [] selector: action: {} awake: name: awake - description: Fires when Sleep detects you woke up. + description: "Fires when Sleep detects you woke up." default: [] selector: action: {} not_awake: name: not_awake - description: Fires when Sleep detects you fell asleep. + description: "Fires when Sleep detects you fell asleep." default: [] selector: action: {} apnea_alarm: name: apnea_alarm - description: Fires when Sleep detects a significant dip in your oxygen levels. + description: "Fires when Sleep detects a significant dip in your oxygen levels." default: [] selector: action: {} antisnoring: name: antisnoring - description: Fires when antisnoring is triggered. + description: "Fires when antisnoring is triggered." default: [] selector: action: {} sound_event_snore: name: sound_event_snore - description: Fires when Sleep detects snoring. + description: "Fires when Sleep detects snoring." default: [] selector: action: {} sound_event_talk: name: sound_event_talk - description: Fires when Sleep detects talking. + description: "Fires when Sleep detects talking." default: [] selector: action: {} sound_event_cough: name: sound_event_cough - description: Fires when Sleep detects coughing. + description: "Fires when Sleep detects coughing." default: [] selector: action: {} sound_event_baby: name: sound_event_baby - description: Fires when Sleep detects a baby cry. + description: "Fires when Sleep detects a baby cry." default: [] selector: action: {} sound_event_laugh: name: sound_event_laugh - description: Fires when Sleep detects laughter. + description: "Fires when Sleep detects laughter." default: [] selector: action: {} before_alarm: name: before_alarm - description: before_alarm event + description: "before_alarm event" default: [] selector: action: {}