Compare commits
2 Commits
66b69199d6
...
8f0fd476c6
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f0fd476c6 | |||
| 7f081cf997 |
@@ -1,5 +0,0 @@
|
|||||||
- platform: template
|
|
||||||
sensors:
|
|
||||||
living_room_tv_source:
|
|
||||||
value_template: '{{ state_attr('media_player.stue_2','source') | default('unknown') }}'
|
|
||||||
friendly_name: 'Living Room TV Source'
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
- sensor:
|
||||||
|
- name: "Living Room TV Source"
|
||||||
|
state: >
|
||||||
|
{{ state_attr('media_player.stue_2','source') | default('unknown', true) }}
|
||||||
Reference in New Issue
Block a user