Had to tweaking the media player content type...
This commit is contained in:
parent
b1aaaef5d6
commit
b69726af0f
|
@ -22,8 +22,8 @@ automation:
|
||||||
- condition: or #Either we are home or Guest_Mode is on.
|
- condition: or #Either we are home or Guest_Mode is on.
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.family_status
|
entity_id: group.family
|
||||||
state: 'Home'
|
state: 'home'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.guest_mode
|
entity_id: input_boolean.guest_mode
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
@ -44,4 +44,4 @@ automation:
|
||||||
{% else %}
|
{% else %}
|
||||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock-{{now().strftime("%I")}}.wav
|
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock-{{now().strftime("%I")}}.wav
|
||||||
{% endif %}
|
{% endif %}
|
||||||
media_content_type: audio/mp4
|
media_content_type: music
|
Loading…
Reference in New Issue