Jase1703

agile Ev Slot automation default

May 1st, 2024 (edited)
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. alias: Car charging
  2. description: Start/stop car charging based on Predbat determined slots
  3. triggers:
  4. - entity_id:
  5. - binary_sensor.predbat_car_charging_slot
  6. to: "on"
  7. id: start_charge
  8. trigger: state
  9. - entity_id:
  10. - binary_sensor.predbat_car_charging_slot
  11. to: "off"
  12. id: end_charge
  13. trigger: state
  14. actions:
  15. - choose:
  16. - conditions:
  17. - condition: trigger
  18. id:
  19. - start_charge
  20. sequence:
  21. - data:
  22. option: Fast
  23. target:
  24. entity_id: select.myenergi_zappi_xxxxxxxx_charge_mode
  25. action: select.select_option
  26. - conditions:
  27. - condition: trigger
  28. id:
  29. - end_charge
  30. sequence:
  31. - data:
  32. option: Stopped
  33. target:
  34. entity_id: select.myenergi_zappi_xxxxxxxx_charge_mode
  35. action: select.select_option
  36. mode: single
Add Comment
Please, Sign In to add comment