From d3449609b3c11eda898ce0d551e4be5bf69e160f Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sat, 16 May 2020 11:57:56 +0300 Subject: [PATCH] Fix logbook log invokations --- config/packages/devices/titanium.yaml | 2 +- config/packages/modes/guest_mode.yaml | 4 ++-- config/packages/modules/climate/purifier.yaml | 8 ++++---- config/packages/modules/lighting/state.yaml | 2 +- config/packages/modules/media/sonos.yaml | 4 ++-- config/packages/modules/media/tv.yaml | 10 +++++----- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/config/packages/devices/titanium.yaml b/config/packages/devices/titanium.yaml index 396d165..28ce30d 100644 --- a/config/packages/devices/titanium.yaml +++ b/config/packages/devices/titanium.yaml @@ -249,4 +249,4 @@ automation: message: "Hey, I'm turning Titanium off. It's been idling for 3 hours." - service: logbook.log data: - name: "馃枼 Devices 路聽Titanium 路聽Turning off - idling for 3 hours" + message: "馃枼 Devices 路聽Titanium 路聽Turning off - idling for 3 hours" diff --git a/config/packages/modes/guest_mode.yaml b/config/packages/modes/guest_mode.yaml index 4eddb75..f8217a4 100644 --- a/config/packages/modes/guest_mode.yaml +++ b/config/packages/modes/guest_mode.yaml @@ -48,7 +48,7 @@ automation: message: "Okay, turning Guest mode on!" - service: logbook.log data: - name: "鈿欙笍 System Module 路聽Telegram 路 Turning Guest mode on" + message: "鈿欙笍 System Module 路聽Telegram 路 Turning Guest mode on" entity_id: input_boolean.guest_mode - alias: Guest mode 路 Disable 路 From Telegram @@ -66,5 +66,5 @@ automation: message: "Okay, turning Guest mode off!" - service: logbook.log data: - name: "鈿欙笍 System Module 路聽Telegram 路 Turning Guest mode off" + message: "鈿欙笍 System Module 路聽Telegram 路 Turning Guest mode off" entity_id: input_boolean.guest_mode diff --git a/config/packages/modules/climate/purifier.yaml b/config/packages/modules/climate/purifier.yaml index c20dc9b..85f13bb 100644 --- a/config/packages/modules/climate/purifier.yaml +++ b/config/packages/modules/climate/purifier.yaml @@ -270,7 +270,7 @@ automation: message: "Hey, I'm turning on the purifier, because humidity is low and there is water in the tank" - service: logbook.log data: - name: "馃挩 Climate module 路 Purifier On 路 Humidity is low" + message: "馃挩 Climate module 路 Purifier On 路 Humidity is low" entity_id: fan.philips_airpurifier domain: fan @@ -296,7 +296,7 @@ automation: message: "Hey, I'm turning on the purifier, because air quality is low" - service: logbook.log data: - name: "馃挩 Climate Module 路 Purifier On 路 Air quality is low" + message: "馃挩 Climate Module 路 Purifier On 路 Air quality is low" entity_id: fan.philips_airpurifier domain: fan - condition: state @@ -312,7 +312,7 @@ automation: message: "Also, switching to humidification, because there is water in the tank" - service: logbook.log data: - name: "馃挩 Climate Module 路 Purifier Function 路 Switching to humidification - there is water in the tank" + message: "馃挩 Climate Module 路 Purifier Function 路 Switching to humidification - there is water in the tank" entity_id: fan.philips_airpurifier domain: fan @@ -342,7 +342,7 @@ automation: message: "Hey, I'm turning the purifier off, because humidity is okay" - service: logbook.log data: - name: "馃挩 Climate Module 路 Purifier Off 路 Humidity is okay" + message: "馃挩 Climate Module 路 Purifier Off 路 Humidity is okay" entity_id: fan.philips_airpurifier domain: fan diff --git a/config/packages/modules/lighting/state.yaml b/config/packages/modules/lighting/state.yaml index 9dbab1c..7e698b0 100644 --- a/config/packages/modules/lighting/state.yaml +++ b/config/packages/modules/lighting/state.yaml @@ -15,7 +15,7 @@ automation: brightness_pct: 100 - service: logbook.log data: - name: "馃挕 Lighting Module 路 Lights On 路 30 mins to sunset" + message: "馃挕 Lighting Module 路 Lights On 路 30 mins to sunset" entity_id: light.on_after_dark domain: light diff --git a/config/packages/modules/media/sonos.yaml b/config/packages/modules/media/sonos.yaml index 72741d2..0968779 100644 --- a/config/packages/modules/media/sonos.yaml +++ b/config/packages/modules/media/sonos.yaml @@ -79,7 +79,7 @@ automation: night_sound: true - service: logbook.log data: - name: "馃攰 Media Module 路聽Sonos Mode 路聽Putting Beam in night mode" + message: "馃攰 Media Module 路聽Sonos Mode 路聽Putting Beam in night mode" entity_id: media_player.living_room domain: media_player @@ -94,7 +94,7 @@ automation: night_sound: false - service: logbook.log data: - name: "馃攰 Media Module 路 Sonos Mode 路 Putting Beam in day mode" + message: "馃攰 Media Module 路 Sonos Mode 路 Putting Beam in day mode" entity_id: media_player.living_room domain: media_player diff --git a/config/packages/modules/media/tv.yaml b/config/packages/modules/media/tv.yaml index 86e00ce..dc8b2c3 100644 --- a/config/packages/modules/media/tv.yaml +++ b/config/packages/modules/media/tv.yaml @@ -98,7 +98,7 @@ automation: entity_id: media_player.living_room - service: logbook.log data: - name: "馃摵 Media Module 路 Sonos Group 路 TV off - joining Beam to Sonos Group" + message: "馃摵 Media Module 路 Sonos Group 路 TV off - joining Beam to Sonos Group" entity_id: media_player.living_room domain: media_player @@ -112,7 +112,7 @@ automation: entity_id: media_player.nvidia_shield - service: logbook.log data: - name: "馃摵 Media Module 路 Sync TV state 路 Turning Shield on - TV is on" + message: "馃摵 Media Module 路 Sync TV state 路 Turning Shield on - TV is on" entity_id: media_player.nvidia_shield domain: media_player @@ -127,7 +127,7 @@ automation: entity_id: media_player.nvidia_shield - service: logbook.log data: - name: "馃摵 Media Module 路 Sync TV state 路 Turning Shield off - TV is off" + message: "馃摵 Media Module 路 Sync TV state 路 Turning Shield off - TV is off" entity_id: media_player.nvidia_shield domain: media_player @@ -145,7 +145,7 @@ automation: source: "Shield" - service: logbook.log data: - name: "馃摵 Media Module 路 Sync TV state 路 Turning TV on - Shield is on" + message: "馃摵 Media Module 路 Sync TV state 路 Turning TV on - Shield is on" entity_id: media_player.living_room_tv domain: media_player @@ -163,7 +163,7 @@ automation: entity_id: media_player.living_room_tv - service: logbook.log data: - name: "馃摵 Media Module 路 Sync TV state 路 Turning TV off - Shield is off" + message: "馃摵 Media Module 路 Sync TV state 路 Turning TV off - Shield is off" entity_id: media_player.living_room_tv domain: media_player