From e2ee28b3be5b7691081e85026718be9bf2b46e73 Mon Sep 17 00:00:00 2001 From: Bearded Tinker Date: Sun, 12 Jun 2022 18:53:12 +0200 Subject: [PATCH] Fix for some automation #87 --- automations/utilities/dishwasher_leak.yaml | 3 ++- automations/utilities/shelly_gas_alert.yaml | 1 + automations/utilities/shelly_gas_normal.yaml | 1 + automations/utilities/shelly_gas_self-test.yaml | 1 + automations/utilities/shelly_gas_warning.yaml | 1 + automations/weather/earthquake_detected.yaml | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/automations/utilities/dishwasher_leak.yaml b/automations/utilities/dishwasher_leak.yaml index 9b71331b..d65d987a 100644 --- a/automations/utilities/dishwasher_leak.yaml +++ b/automations/utilities/dishwasher_leak.yaml @@ -26,7 +26,7 @@ action: tag_id: 'emergency' color: 'red' sticky: 'true' -- data: +#- data: # entity_id: # - media_player.display_me # - media_player.clock_me @@ -52,4 +52,5 @@ action: - media_player.clock_me data: message: 'Water leak detected. Check under dishwasher now!' + extra: volume: 0.6 diff --git a/automations/utilities/shelly_gas_alert.yaml b/automations/utilities/shelly_gas_alert.yaml index bbe4932b..585b078b 100644 --- a/automations/utilities/shelly_gas_alert.yaml +++ b/automations/utilities/shelly_gas_alert.yaml @@ -53,4 +53,5 @@ action: - media_player.clock_me data: message: 'Gas leak alert. Current level of gas is {{ states("sensor.shelly_gas_10521cef4a01_concentration") }} PPM and normal value should be 0.' + extra: volume: 0.5 diff --git a/automations/utilities/shelly_gas_normal.yaml b/automations/utilities/shelly_gas_normal.yaml index abc35d53..8d2f73f0 100644 --- a/automations/utilities/shelly_gas_normal.yaml +++ b/automations/utilities/shelly_gas_normal.yaml @@ -54,4 +54,5 @@ action: - media_player.clock_me data: message: 'Gas leak alert ends. Current level of gas is {{ states("sensor.shelly_gas_10521cef4a01_concentration") }} PPM and normal value should be 0.' + extra: volume: 0.5 diff --git a/automations/utilities/shelly_gas_self-test.yaml b/automations/utilities/shelly_gas_self-test.yaml index 2738b26a..1f646c9a 100644 --- a/automations/utilities/shelly_gas_self-test.yaml +++ b/automations/utilities/shelly_gas_self-test.yaml @@ -49,4 +49,5 @@ action: - media_player.clock_me data: message: 'Shelly gas sensors needs self-test. Press button on it to start it.' + extra: volume: 0.5 diff --git a/automations/utilities/shelly_gas_warning.yaml b/automations/utilities/shelly_gas_warning.yaml index 26b4aef7..2437cc45 100644 --- a/automations/utilities/shelly_gas_warning.yaml +++ b/automations/utilities/shelly_gas_warning.yaml @@ -52,4 +52,5 @@ action: - media_player.clock_me data: message: 'Gas warning. Current level of gas is {{ states("sensor.shelly_gas_10521cef4a01_concentration") }} PPM and normal value should be 0' + extra: volume: 0.5 diff --git a/automations/weather/earthquake_detected.yaml b/automations/weather/earthquake_detected.yaml index df5b1d0a..57879567 100644 --- a/automations/weather/earthquake_detected.yaml +++ b/automations/weather/earthquake_detected.yaml @@ -50,4 +50,5 @@ action: - media_player.clock_me data: message: 'Earthquake detected! Stay calm!' + extra: volume: 0.5