fixes to get rid of startup messages
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# template for "Tesla stop when charged"
|
||||
- alias: Tesla stop when charged
|
||||
trigger:
|
||||
- platform: template
|
||||
value_template: >
|
||||
{{ (states('sensor.snowywhite_battery') | default(0)) | float >=
|
||||
(states('number.snowywhite_charge_limit') | default(100)) | float }}
|
||||
|
||||
{{ (states('sensor.snowywhite_battery')|float(0)) >=
|
||||
(states('number.snowywhite_charge_limit')|float(100)) }}
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.home_charging
|
||||
entity_id: switch.home_charging
|
||||
|
||||
Reference in New Issue
Block a user