-
-
Notifications
You must be signed in to change notification settings - Fork 7
Automation examples
Magnus Eldén edited this page Nov 4, 2022
·
2 revisions
Example of basic automations to enable/disable the charging. Your states here may differ from the example which is a Chargeamps Halo:
- id: '111111'
alias: Peaq - Charge
trigger:
- platform: state
entity_id: sensor.your_chargersensor
from: Available
to: Connected
- service: peaqev.enable
data: {}
mode: single
- id: '222222'
alias: Peaq - Disconnected
trigger:
- platform: state
entity_id: sensor.your_chargersensor
to: Available
condition: []
action:
- service: peaqev.disable
data: {}
mode: single
Frontend-button to override the nonhours right now (can be handy at times)
show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: peaqev.override_nonhours
data: {}
target: {}
icon: mdi:car-electric
name: Override nonhours
icon_height: 60px