Skip to content

Commit

Permalink
fix: add continue on error to turn_off_all
Browse files Browse the repository at this point in the history
  • Loading branch information
TribuneX committed Jul 20, 2024
1 parent bbe9bb7 commit 5f557d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
container_name: homeassistant_weg
ports:
- 8123:8123
volumes:
- ./config:/config
# - /etc/localtime:/etc/localtime:ro
2 changes: 2 additions & 0 deletions includes/scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ play_sonos_radio:
turn_off_all:
sequence:
- service: light.turn_off
continue_on_error: true
data_template:
entity_id: >
{% set exclude_light = [
Expand All @@ -129,6 +130,7 @@ turn_off_all:
- delay:
seconds: 5
- service: switch.turn_off
continue_on_error: true
entity_id:
- switch.sonos_playbar
- switch.speaker_1
Expand Down

0 comments on commit 5f557d2

Please sign in to comment.