sockless-coding / garo_wallbox

Garo wallbox - Home Assistant Component
MIT License
22 stars 40 forks source link

Can't set mode anymore #46

Closed hedkvist closed 2 months ago

hedkvist commented 2 months ago

After the latest update i can't set "mode" by script. I might doing it wrong? It works from the GUI.

I used this script before the update: data: entity_id: sensor.garo1 mode: "On" action: garo_wallbox.set_mode

I only get: "Failed to perform the action script/garo_on. 'On' is not a valid Mode"

I tryed this script to: data: entity_id: select.garo1_garo1 mode: "On" action: garo_wallbox.set_mode

But it dosen't work either.

The script that worked before the update: image

Set_current_limit works

peterthorvald commented 2 months ago

Yes the latest update screwed up a lot of things. Don’t think you need to change mode via script anymore. You can use the control entity. Also the attribute isn’t “On” anymore, it’s ALWAYS_ON

sockless-coding commented 2 months ago

Yes, I managed to break that service call, I'll add some backwards compatibility so On/Off works

peterthorvald commented 2 months ago

Yes, I managed to break that service call, I'll add some backwards compatibility so On/Off works

Sorry, I sounded very ungrateful when in fact I was just frustrated because I use and like your integration very much. I’m sure it will get sorted soon

sockless-coding commented 2 months ago

set_mode should work with On/Off in 2024.9.1

Though I would recommend updating to the new mode select image

hedkvist commented 2 months ago

set_mode should work with On/Off in 2024.9.1

Though I would recommend updating to the new mode select image

Thanks! The new mode select works perfekt!