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