diff --git a/config/configuration.yaml b/config/configuration.yaml index 94bd60b..2977333 100644 --- a/config/configuration.yaml +++ b/config/configuration.yaml @@ -45,7 +45,11 @@ lovelace: filename: advanced-lovelace.yaml # https://www.home-assistant.io/components/logbook -# logbook: +logbook: + include: + domains: + - sun + - automation # https://www.home-assistant.io/components/map # map: diff --git a/config/packages/devices/titanium.yaml b/config/packages/devices/titanium.yaml index bab7b3d..69eafe9 100644 --- a/config/packages/devices/titanium.yaml +++ b/config/packages/devices/titanium.yaml @@ -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." diff --git a/config/packages/modes/guest_mode.yaml b/config/packages/modes/guest_mode.yaml index 147b4a4..133cfe3 100644 --- a/config/packages/modes/guest_mode.yaml +++ b/config/packages/modes/guest_mode.yaml @@ -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!" diff --git a/config/packages/modules/climate/purifier.yaml b/config/packages/modules/climate/purifier.yaml index b98ba43..dcd9184 100644 --- a/config/packages/modules/climate/purifier.yaml +++ b/config/packages/modules/climate/purifier.yaml @@ -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: diff --git a/config/packages/modules/lighting/state.yaml b/config/packages/modules/lighting/state.yaml index 2da0255..0e83312 100644 --- a/config/packages/modules/lighting/state.yaml +++ b/config/packages/modules/lighting/state.yaml @@ -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 diff --git a/config/packages/modules/media/sonos.yaml b/config/packages/modules/media/sonos.yaml index cf474e0..e85a701 100644 --- a/config/packages/modules/media/sonos.yaml +++ b/config/packages/modules/media/sonos.yaml @@ -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 diff --git a/config/packages/modules/media/tv.yaml b/config/packages/modules/media/tv.yaml index eae1148..3e6eac1 100644 --- a/config/packages/modules/media/tv.yaml +++ b/config/packages/modules/media/tv.yaml @@ -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: