mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-14 23:55:18 +00:00
Great Tip from @gabrielemariotti to clean up Template Sensors across the board. #529
This commit is contained in:
@@ -17,9 +17,11 @@
|
||||
- platform: template
|
||||
sensors:
|
||||
upstairs_away_mode:
|
||||
entity_id: []
|
||||
value_template: "{{ is_state_attr('climate.upstairs', 'away_mode', 'on') }}"
|
||||
|
||||
- platform: template
|
||||
sensors:
|
||||
downstairs_away_mode:
|
||||
entity_id: []
|
||||
value_template: "{{ is_state_attr('climate.downstairs', 'away_mode', 'on') }}"
|
||||
|
Reference in New Issue
Block a user