Compare commits
2
Commits
291f526a84
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1b27ab7b8 | ||
|
|
428579244a |
+12
-6
@@ -99,9 +99,12 @@
|
|||||||
while:
|
while:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{{ repeat.index <= 8 and
|
{{ repeat.index <= 8 and (
|
||||||
(state_attr('media_player.spotify_bhetherman', 'supported_features') | int(0)
|
state_attr('media_player.spotify_bhetherman', 'source') !=
|
||||||
| bitwise_and(512)) != 512 }}
|
(room | replace('Living Room', 'd0166d6f83796b0f9059b0adf0f6cb0d81fa6376') | replace('Bedroom', 'a334c8ba989367b52303eaa9dbc424cdd83012b5'))
|
||||||
|
or (state_attr('media_player.spotify_bhetherman', 'supported_features') | int(0)
|
||||||
|
| bitwise_and(512)) != 512
|
||||||
|
) }}
|
||||||
sequence:
|
sequence:
|
||||||
- delay: "00:00:01"
|
- delay: "00:00:01"
|
||||||
- service: media_player.play_media
|
- service: media_player.play_media
|
||||||
@@ -150,9 +153,12 @@
|
|||||||
while:
|
while:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{{ repeat.index <= 8 and
|
{{ repeat.index <= 8 and (
|
||||||
(state_attr('media_player.spotify_bhetherman', 'supported_features') | int(0)
|
state_attr('media_player.spotify_bhetherman', 'source') !=
|
||||||
| bitwise_and(512)) != 512 }}
|
(room | replace('Living Room', 'd0166d6f83796b0f9059b0adf0f6cb0d81fa6376') | replace('Bedroom', 'a334c8ba989367b52303eaa9dbc424cdd83012b5'))
|
||||||
|
or (state_attr('media_player.spotify_bhetherman', 'supported_features') | int(0)
|
||||||
|
| bitwise_and(512)) != 512
|
||||||
|
) }}
|
||||||
sequence:
|
sequence:
|
||||||
- delay: "00:00:01"
|
- delay: "00:00:01"
|
||||||
- service: media_player.play_media
|
- service: media_player.play_media
|
||||||
|
|||||||
Reference in new issue
Block a user