mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Add logs to tv automations, get rid of thread-ids
This commit is contained in:
@@ -268,14 +268,10 @@ automation:
|
|||||||
- service: script.say
|
- service: script.say
|
||||||
data:
|
data:
|
||||||
message: "Hey, I'm turning on the purifier, because humidity is low and there is water in the tank"
|
message: "Hey, I'm turning on the purifier, because humidity is low and there is water in the tank"
|
||||||
- service: notify.carbon
|
- service: notify.telegram
|
||||||
data:
|
data:
|
||||||
title: "💨 *Climate module · Purifier On*"
|
title: "💨 *Climate module · Purifier On*"
|
||||||
message: "Turning purifier on - humidity is low"
|
message: "Turning purifier on - humidity is low"
|
||||||
data:
|
|
||||||
push:
|
|
||||||
thread-id: "purifier"
|
|
||||||
|
|
||||||
|
|
||||||
- alias: Purifier · Turn on · Low air quality
|
- alias: Purifier · Turn on · Low air quality
|
||||||
trigger:
|
trigger:
|
||||||
@@ -301,9 +297,6 @@ automation:
|
|||||||
data:
|
data:
|
||||||
title: "💨 *Climate Module · Purifier On"
|
title: "💨 *Climate Module · Purifier On"
|
||||||
message: "Turning purifier on - air quality is low"
|
message: "Turning purifier on - air quality is low"
|
||||||
data:
|
|
||||||
push:
|
|
||||||
thread-id: "purifier"
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.purifier_out_of_water
|
entity_id: binary_sensor.purifier_out_of_water
|
||||||
state: "off"
|
state: "off"
|
||||||
@@ -319,9 +312,6 @@ automation:
|
|||||||
data:
|
data:
|
||||||
title: "💨 *Climate Module · Purifier Function"
|
title: "💨 *Climate Module · Purifier Function"
|
||||||
message: "Switching purifier to humidification - there is water in the tank"
|
message: "Switching purifier to humidification - there is water in the tank"
|
||||||
data:
|
|
||||||
push:
|
|
||||||
thread-id: "purifier"
|
|
||||||
|
|
||||||
- alias: Purifier · Turn off · Okay humidity
|
- alias: Purifier · Turn off · Okay humidity
|
||||||
trigger:
|
trigger:
|
||||||
@@ -351,9 +341,6 @@ automation:
|
|||||||
data:
|
data:
|
||||||
title: "💨 *Climate Module · Purifier Off"
|
title: "💨 *Climate Module · Purifier Off"
|
||||||
message: "Turning purifier off - humidity is okay"
|
message: "Turning purifier off - humidity is okay"
|
||||||
data:
|
|
||||||
push:
|
|
||||||
thread-id: "purifier"
|
|
||||||
|
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize:
|
customize:
|
||||||
|
|||||||
@@ -17,9 +17,6 @@ automation:
|
|||||||
data:
|
data:
|
||||||
title: "💡 *Lighting Module · Lights On"
|
title: "💡 *Lighting Module · Lights On"
|
||||||
message: "Turning lights on - it's 30 mins to sunset"
|
message: "Turning lights on - it's 30 mins to sunset"
|
||||||
data:
|
|
||||||
push:
|
|
||||||
thread-id: "lights"
|
|
||||||
|
|
||||||
- alias: Lighting · Turn off all lights after sunrise
|
- alias: Lighting · Turn off all lights after sunrise
|
||||||
trigger:
|
trigger:
|
||||||
|
|||||||
@@ -81,9 +81,6 @@ automation:
|
|||||||
data:
|
data:
|
||||||
title: "🔊 *Media Module · Sonos Mode"
|
title: "🔊 *Media Module · Sonos Mode"
|
||||||
message: "Putting Beam in night mode"
|
message: "Putting Beam in night mode"
|
||||||
data:
|
|
||||||
push:
|
|
||||||
thread-id: "sonos"
|
|
||||||
|
|
||||||
- alias: Media · Sonos · Put Beam in day mode
|
- alias: Media · Sonos · Put Beam in day mode
|
||||||
trigger:
|
trigger:
|
||||||
@@ -98,9 +95,6 @@ automation:
|
|||||||
data:
|
data:
|
||||||
title: "🔊 *Media Module · Sonos Mode"
|
title: "🔊 *Media Module · Sonos Mode"
|
||||||
message: "Putting Beam in day mode"
|
message: "Putting Beam in day mode"
|
||||||
data:
|
|
||||||
push:
|
|
||||||
thread-id: "sonos"
|
|
||||||
|
|
||||||
- alias: Media · Sonos · Volume up on bathroom switch click
|
- alias: Media · Sonos · Volume up on bathroom switch click
|
||||||
trigger:
|
trigger:
|
||||||
|
|||||||
@@ -100,9 +100,6 @@ automation:
|
|||||||
data:
|
data:
|
||||||
title: "📺 *Media Module · Sonos Group"
|
title: "📺 *Media Module · Sonos Group"
|
||||||
message: "TV off - joining Beam to Sonos Group"
|
message: "TV off - joining Beam to Sonos Group"
|
||||||
data:
|
|
||||||
push:
|
|
||||||
thread-id: "sonos"
|
|
||||||
|
|
||||||
- alias: TV · State · Sync on TV on
|
- alias: TV · State · Sync on TV on
|
||||||
trigger:
|
trigger:
|
||||||
@@ -112,6 +109,11 @@ automation:
|
|||||||
action:
|
action:
|
||||||
- service: media_player.turn_on
|
- service: media_player.turn_on
|
||||||
entity_id: media_player.nvidia_shield
|
entity_id: media_player.nvidia_shield
|
||||||
|
- service: notify.telegram
|
||||||
|
data:
|
||||||
|
title: "📺 *Media Module · Sync TV state"
|
||||||
|
message: "Shield on - TV is on"
|
||||||
|
|
||||||
|
|
||||||
- alias: TV · State · Sync on TV off
|
- alias: TV · State · Sync on TV off
|
||||||
trigger:
|
trigger:
|
||||||
@@ -121,6 +123,10 @@ automation:
|
|||||||
action:
|
action:
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
entity_id: media_player.nvidia_shield
|
entity_id: media_player.nvidia_shield
|
||||||
|
- service: notify.telegram
|
||||||
|
data:
|
||||||
|
title: "📺 *Media Module · Sync TV state"
|
||||||
|
message: "Shield off - TV is off"
|
||||||
|
|
||||||
- alias: TV · State · Sync on Shield on
|
- alias: TV · State · Sync on Shield on
|
||||||
trigger:
|
trigger:
|
||||||
@@ -134,6 +140,10 @@ automation:
|
|||||||
entity_id: media_player.living_room_tv
|
entity_id: media_player.living_room_tv
|
||||||
data:
|
data:
|
||||||
source: "Shield"
|
source: "Shield"
|
||||||
|
- service: notify.telegram
|
||||||
|
data:
|
||||||
|
title: "📺 *Media Module · Sync TV state"
|
||||||
|
message: "TV on - Shield is on"
|
||||||
|
|
||||||
|
|
||||||
- alias: TV · State · Sync on Shield off
|
- alias: TV · State · Sync on Shield off
|
||||||
@@ -144,6 +154,10 @@ automation:
|
|||||||
action:
|
action:
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
entity_id: media_player.living_room_tv
|
entity_id: media_player.living_room_tv
|
||||||
|
- service: notify.telegram
|
||||||
|
data:
|
||||||
|
title: "📺 *Media Module · Sync TV state"
|
||||||
|
message: "TV off - Shield is off"
|
||||||
|
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize:
|
customize:
|
||||||
|
|||||||
Reference in New Issue
Block a user