Tesla Fleet Toggle/Schedule Max Backup Protection #3013
Unanswered
DeFlanko
asked this question in
Integration enhancements
Replies: 2 comments 5 replies
-
|
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
I still think this should be native in the API, however I came up with a work around for now. Adjust the values as needed for your system.Make Automations (with TOC in mind) first then the Script (on demand). First the Automations: alias: Auto charge batteries to 100%
description: ""
triggers:
- trigger: numeric_state
entity_id:
- sensor.my_home_percentage_charged
below: 21
enabled: true
- trigger: time_pattern
minutes: /5
conditions:
- condition: or
conditions:
- condition: time
after: "20:05:00"
before: "09:55:00"
weekday:
- mon
- tue
- wed
- thu
- fri
- condition: time
after: "00:00:00"
before: "23:59:00"
weekday:
- sat
- sun
actions:
- action: number.set_value
metadata: {}
target:
entity_id: number.my_home_backup_reserve
data:
value: "100"
mode: single
alias: Auto set Batteries back to 20% once Full
description: ""
triggers:
- trigger: numeric_state
entity_id:
- sensor.my_home_percentage_charged
above: 99
conditions: []
actions:
- action: number.set_value
metadata: {}
target:
entity_id: number.my_home_backup_reserve
data:
value: "20"
mode: singleOn-Demand Script: sequence:
- action: number.set_value
metadata: {}
target:
entity_id: number.my_home_backup_reserve
data:
value: "100"
alias: New script
description: ""
icon: mdi:battery-charging-100If the On Demand script is used then the Automation will take care of resetting your batteries level back to normal. type: custom:mini-graph-card
labels: true
name_adaptive_color: true
hours_to_show: 24
points_per_hour: 6
line_width: 3
hour24: true
animate: true
lower_bound: 0
height: 45
color_thresholds:
- value: 0
color: "#800fff"
- value: 20
color: "#ff0000"
- value: 40
color: "#ffa500"
- value: 60
color: "#ffff00"
- value: 80
color: "#52c900"
show:
name_adaptive_color: true
icon_adaptive_color: true
labels: true
secondary_info: true
entities:
- entity: sensor.my_home_percentage_charged
name: Tesla Battery
- entity: number.my_home_backup_reserve
name: Reserve set to
color: Orange
show_line: false
show_points: false
show_legend: false
show_state: true
y_axis: secondarytype: button
entity: script.set_batteries_100
show_name: true
show_icon: true
show_state: false
color: accent
grid_options:
columns: 12
rows: 2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
Integration name
Tesla Fleet
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tesla_fleet/
Describe the enhancement
In the Tesla App, under storm watch there is an option to toggle/schedule Max Backup Protection, which tells the battery to charge right now to 100%
Use cases
This would be beneficial in Home assistant for situations where environment issues that would not trigger Storm watch. For example a planned outage by the power company.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions