Would recommend to solve this with automations. The on/off is cloud related and doesn’t work unless the charger is unlocked. I also use EV smart charging, my wb Pulsar plus is rooted though so i control it locally.
For inspiration my automation below:
alias: EV Smart Charging
description: ""
trigger:
- platform: state
entity_id:
- sensor.ev_smart_charging_charging
to: "on"
for:
hours: 0
minutes: 0
seconds: 0
id: "on"
- platform: state
entity_id:
- sensor.ev_smart_charging_charging
to: "off"
id: "off"
- platform: state
entity_id:
- sensor.wallbox_status
id: check charging
to: Charging
for:
hours: 0
minutes: 0
seconds: 0
- platform: homeassistant
event: start
id: restart
- platform: state
entity_id:
- sensor.wallbox_status
from: unavailable
id: restart
condition:
- condition: or
conditions:
- condition: state
entity_id: sensor.wallbox_status
state: Paused
- condition: state
entity_id: sensor.wallbox_status
state: Charging
action:
- choose:
- conditions:
- condition: trigger
id: "on"
- condition: not
conditions:
- condition: state
entity_id: sensor.wallbox_status
state: Charging
sequence:
- service: switch.turn_on
data: {}
target:
entity_id:
- switch.wallbox_charging_enable
- conditions:
- condition: trigger
id: "off"
- condition: state
entity_id: sensor.wallbox_status
state: Charging
sequence:
- service: switch.turn_off
data: {}
target:
entity_id:
- switch.wallbox_charging_enable
- conditions:
- condition: or
conditions:
- condition: trigger
id: check charging
- condition: trigger
id: restart
sequence:
- if:
- condition: and
conditions:
- condition: state
entity_id: sensor.ev_smart_charging_charging
state: "off"
- condition: state
entity_id: sensor.wallbox_status
state: Charging
then:
- type: turn_off
device_id: 011eb97a0b27faf7ac9c7378ef475dff
entity_id: 70ff19bf5027b240420492032eacb858
domain: switch
else:
- if:
- condition: and
conditions:
- condition: state
entity_id: sensor.wallbox_status
state: Paused
- condition: state
entity_id: sensor.ev_smart_charging_charging
state: "on"
then:
- type: turn_on
device_id: 011eb97a0b27faf7ac9c7378ef475dff
entity_id: 70ff19bf5027b240420492032eacb858
domain: switch
default: []
mode: queued
max: 10
You could in your case play around with the availability of the switch, eg make it a condition or a trigger:
- condition: not
conditions:
- condition: state
entity_id: switch.wallbox_portal_pause_resume
state: unavailable
enabled: false
Alternatively you can try to root your wallbox, information is available on this forum:
or github: