mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-09 10:14:41 +00:00
Use logbook
This commit is contained in:
@@ -247,3 +247,7 @@ automation:
|
||||
data:
|
||||
title: "🖥 *Devices · Titanium*"
|
||||
message: "Hey, I'm turning Titanium off. It's been idling for 3 hours."
|
||||
- service: logbook.log
|
||||
data:
|
||||
name: "🖥 *Devices · Titanium*"
|
||||
message: "Hey, I'm turning Titanium off. It's been idling for 3 hours."
|
||||
|
||||
@@ -46,6 +46,10 @@ automation:
|
||||
data:
|
||||
title: "⚙️ *System Module · Telegram*"
|
||||
message: "Okay, turning Guest mode on!"
|
||||
- service: logbook.log
|
||||
data:
|
||||
name: "⚙️ *System Module · Telegram*"
|
||||
message: "Okay, turning Guest mode on!"
|
||||
|
||||
- alias: Guest mode · Disable · From Telegram
|
||||
trigger:
|
||||
@@ -60,3 +64,7 @@ automation:
|
||||
data:
|
||||
title: "⚙️ *System Module · Telegram*"
|
||||
message: "Okay, turning Guest mode off!"
|
||||
- service: logbook.log
|
||||
data:
|
||||
name: "⚙️ *System Module · Telegram*"
|
||||
message: "Okay, turning Guest mode off!"
|
||||
|
||||
@@ -268,9 +268,9 @@ 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.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "💨 *Climate module · Purifier On*"
|
||||
name: "💨 *Climate module · Purifier On*"
|
||||
message: "Turning purifier on - humidity is low"
|
||||
|
||||
- alias: Purifier · Turn on · Low air quality
|
||||
@@ -293,9 +293,9 @@ automation:
|
||||
- service: script.say
|
||||
data:
|
||||
message: "Hey, I'm turning on the purifier, because air quality is low"
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "💨 *Climate Module · Purifier On"
|
||||
name: "💨 *Climate Module · Purifier On"
|
||||
message: "Turning purifier on - air quality is low"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.purifier_out_of_water
|
||||
@@ -308,9 +308,9 @@ automation:
|
||||
- service: script.say
|
||||
data:
|
||||
message: "Also, switching to humidification, because there is water in the tank"
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "💨 *Climate Module · Purifier Function"
|
||||
name: "💨 *Climate Module · Purifier Function"
|
||||
message: "Switching purifier to humidification - there is water in the tank"
|
||||
|
||||
- alias: Purifier · Turn off · Okay humidity
|
||||
@@ -337,9 +337,9 @@ automation:
|
||||
- service: script.say
|
||||
data:
|
||||
message: "Hey, I'm turning the purifier off, because humidity is okay"
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "💨 *Climate Module · Purifier Off"
|
||||
name: "💨 *Climate Module · Purifier Off"
|
||||
message: "Turning purifier off - humidity is okay"
|
||||
|
||||
homeassistant:
|
||||
|
||||
@@ -13,9 +13,9 @@ automation:
|
||||
entity_id: light.on_after_dark
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "💡 *Lighting Module · Lights On"
|
||||
name: "💡 *Lighting Module · Lights On"
|
||||
message: "Turning lights on - it's 30 mins to sunset"
|
||||
|
||||
- alias: Lighting · Turn off all lights after sunrise
|
||||
|
||||
@@ -77,9 +77,9 @@ automation:
|
||||
entity_id: media_player.living_room
|
||||
data:
|
||||
night_sound: true
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "🔊 *Media Module · Sonos Mode"
|
||||
name: "🔊 *Media Module · Sonos Mode"
|
||||
message: "Putting Beam in night mode"
|
||||
|
||||
- alias: Media · Sonos · Put Beam in day mode
|
||||
@@ -91,9 +91,9 @@ automation:
|
||||
entity_id: media_player.living_room
|
||||
data:
|
||||
night_sound: false
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "🔊 *Media Module · Sonos Mode"
|
||||
name: "🔊 *Media Module · Sonos Mode"
|
||||
message: "Putting Beam in day mode"
|
||||
|
||||
- alias: Media · Sonos · Volume up on bathroom switch click
|
||||
|
||||
@@ -96,9 +96,9 @@ automation:
|
||||
data:
|
||||
master: media_player.master_bedroom
|
||||
entity_id: media_player.living_room
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "📺 *Media Module · Sonos Group"
|
||||
name: "📺 *Media Module · Sonos Group"
|
||||
message: "TV off - joining Beam to Sonos Group"
|
||||
|
||||
- alias: TV · State · Sync on TV on
|
||||
@@ -109,9 +109,9 @@ automation:
|
||||
action:
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.nvidia_shield
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "📺 *Media Module · Sync TV state"
|
||||
name: "📺 *Media Module · Sync TV state"
|
||||
message: "Shield on - TV is on"
|
||||
|
||||
|
||||
@@ -123,9 +123,9 @@ automation:
|
||||
action:
|
||||
- service: media_player.turn_off
|
||||
entity_id: media_player.nvidia_shield
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "📺 *Media Module · Sync TV state"
|
||||
name: "📺 *Media Module · Sync TV state"
|
||||
message: "Shield off - TV is off"
|
||||
|
||||
- alias: TV · State · Sync on Shield on
|
||||
@@ -140,9 +140,9 @@ automation:
|
||||
entity_id: media_player.living_room_tv
|
||||
data:
|
||||
source: "Shield"
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "📺 *Media Module · Sync TV state"
|
||||
name: "📺 *Media Module · Sync TV state"
|
||||
message: "TV on - Shield is on"
|
||||
|
||||
|
||||
@@ -154,9 +154,9 @@ automation:
|
||||
action:
|
||||
- service: media_player.turn_off
|
||||
entity_id: media_player.living_room_tv
|
||||
- service: notify.telegram
|
||||
- service: logbook.log
|
||||
data:
|
||||
title: "📺 *Media Module · Sync TV state"
|
||||
name: "📺 *Media Module · Sync TV state"
|
||||
message: "TV off - Shield is off"
|
||||
|
||||
homeassistant:
|
||||
|
||||
Reference in New Issue
Block a user