diff options
-rw-r--r-- | .storage/lovelace.lovelace_climate | 2 | ||||
-rw-r--r-- | automations.yaml | 14 | ||||
-rw-r--r-- | custom/scripts/play-playlist.yaml | 11 |
3 files changed, 16 insertions, 11 deletions
diff --git a/.storage/lovelace.lovelace_climate b/.storage/lovelace.lovelace_climate index 0eaa6df..19cf92c 100644 --- a/.storage/lovelace.lovelace_climate +++ b/.storage/lovelace.lovelace_climate @@ -46,7 +46,7 @@ "title": "Office Climate Control", "entities": [ { - "entity": "switch.smart_power_strip_pro_socket_2" + "entity": "switch.office_aircon" }, { "entity": "scene.lg_aircon_cool_18" diff --git a/automations.yaml b/automations.yaml index 1b14bd5..66cfe12 100644 --- a/automations.yaml +++ b/automations.yaml @@ -737,10 +737,6 @@ light: input_boolean.mode_away delay: 0 on_click: - - service: switch.turn_on - target: - entity_id: switch.hall_lights_center - data: {} - service: input_button.press data: {} target: @@ -1567,11 +1563,11 @@ - switch.bedroom_tablelamp - switch.bedroom_lights_right state: 'off' - - type: is_no_motion - condition: device - device_id: 4df2316b687cb4638268ae44eaad7e14 - entity_id: binary_sensor.bedroom_motions_occupancy - domain: binary_sensor + - condition: state + entity_id: + - binary_sensor.bedroom_motions_occupancy + - binary_sensor.bedroom_presence_presence + state: 'off' for: hours: 0 minutes: 0 diff --git a/custom/scripts/play-playlist.yaml b/custom/scripts/play-playlist.yaml index 0823878..7b3acff 100644 --- a/custom/scripts/play-playlist.yaml +++ b/custom/scripts/play-playlist.yaml @@ -48,7 +48,7 @@ play_playlist: vol: '{{ volume | default(0.7) | float }}' list: '{{ playlist | default("darksoft") }}' - mode: single + mode: restart sequence: - alias: Turn on player @@ -91,6 +91,9 @@ play_playlist: target: entity_id: '{{ current }}' +# - delay: +# seconds: 5 + - service: media_player.shuffle_set data: shuffle: true @@ -114,6 +117,9 @@ play_playlist: enqueue: play media_content_id: "upnp://4d696e69-444c-164e-9d41-3c7c3f4af5b0/64%240%246%243/" +# - delay: +# seconds: 5 + - service: media_player.shuffle_set data: shuffle: true @@ -137,6 +143,9 @@ play_playlist: enqueue: play media_content_id: "upnp://4d696e69-444c-164e-9d41-3c7c3f4af5b0/64%240%241%240/" +# - delay: +# seconds: 5 + - service: media_player.shuffle_set data: shuffle: false |