sockless-coding / garo_wallbox

Garo wallbox - Home Assistant Component
MIT License
20 stars 39 forks source link

Can't set mode anymore #46

Closed hedkvist closed 1 day ago

hedkvist commented 3 days 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 3 days 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 3 days ago

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

peterthorvald commented 3 days 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 3 days 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 3 days 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!