Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/dinki/View-Assist
Browse files Browse the repository at this point in the history
  • Loading branch information
dinki committed Nov 19, 2024
2 parents ad60b0a + de4d94a commit a67e3cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions View_Assist_custom_sentences/Broadcast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ tts:
```

Note that you must have at least two View Assist devices configured and in your View Assist group to use this automation
## To Do
* Fix logic for audio only to use boolean and not string
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blueprint:
name: View Assist - Broadcast
description: Say broadcast and the message and View Assist will send message to
all devices not in do not disturb mode (View Assist Broadcast v 1.0.0)<br />Note
all devices not in do not disturb mode (View Assist Broadcast v 1.0.1)<br />Note
Chime TTS is needed for this automation
domain: automation
input:
Expand Down Expand Up @@ -80,7 +80,7 @@ action:
- service: chime_tts.say
target:
entity_id: "{%- set ns = namespace(targets=[]) -%} {%- for satellite in expand(group_entity)
-%}\n {%- if state_attr(satellite.entity_id,\"do_not_disturb\") == \"False\"
-%}\n {%- if state_attr(satellite.entity_id,\"do_not_disturb\") != true
-%}\n {%- set ns.targets = ns.targets + [state_attr(satellite.entity_id,\"mediaplayer_device\")]
-%}\n {%- endif -%}\n{%- endfor -%} {{ns.targets}}"
data:
Expand Down
3 changes: 2 additions & 1 deletion View_Assist_custom_sentences/Device_Functions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Requires View Assist Control automation v1.2.0 or greater

* Add voice command to set view timeout
* Add pause, rewind/fast forward XX seconds/minutes, next/previous/restart track

* Add check to timer expire to make sure timer exists for device before turning off (audio only has no timers)

## Change log

v 1.2.2 Stop music stops music player device and expires timer to go back to home screen quicker
Expand Down

0 comments on commit a67e3cc

Please sign in to comment.