Great Tip from @gabrielemariotti to clean up Template Sensors across the board. #529

This commit is contained in:
ccostan
2019-03-31 17:13:37 -04:00
parent 13a33ecc57
commit 55f75950b0
9 changed files with 34 additions and 14 deletions

View File

@@ -17,6 +17,7 @@ sensor:
sensors:
low_battery:
friendly_name: 'Low Battery'
entity_id: []
value_template: >
{%- set threshold = 15 -%}
{%- set domains = ['light', 'switch', 'sensor', 'zwave', 'lock', 'binary_sensor'] -%}