Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Car charging
- description: Start/stop car charging based on Predbat determined slots
- triggers:
- - entity_id:
- - binary_sensor.predbat_car_charging_slot
- to: "on"
- id: start_charge
- trigger: state
- - entity_id:
- - binary_sensor.predbat_car_charging_slot
- to: "off"
- id: end_charge
- trigger: state
- actions:
- - choose:
- - conditions:
- - condition: trigger
- id:
- - start_charge
- sequence:
- - data:
- option: Fast
- target:
- entity_id: select.myenergi_zappi_xxxxxxxx_charge_mode
- action: select.select_option
- - conditions:
- - condition: trigger
- id:
- - end_charge
- sequence:
- - data:
- option: Stopped
- target:
- entity_id: select.myenergi_zappi_xxxxxxxx_charge_mode
- action: select.select_option
- mode: single
Add Comment
Please, Sign In to add comment