garo_wallbox icon indicating copy to clipboard operation
garo_wallbox copied to clipboard

Changing Cable Lock mode returns error

Open ahammas opened this issue 1 year ago • 6 comments

I really like this integration. The new set mode (or is it select mode) will make it much easier for new users to get started with controling their Garo.

I also like that it's now possible to select the lock mode for the cable. However It doesn't work for me. When I go into the integration and select a different lock setting I get the error message "Failed to perform the action select/select_option. list indices must be integers or slices, not str".

I have set my cable to be locked in the Garo "App" but it would be really handy if I could unlock it from HA so I wouldn't have to go through the Garo "App".

Is it something in the integration or am I doing something wrong?

ahammas avatar Sep 15 '24 20:09 ahammas

@ahammas Hi, it's the integration I don't have a box with an outlet myself. So I haven't been able to test it. But I'll see if I can figure out where it goes wrong.

sockless-coding avatar Sep 15 '24 20:09 sockless-coding

I found an error, give 2024.9.2 a go and see if it works better.

sockless-coding avatar Sep 15 '24 20:09 sockless-coding

Wow! Quick action!

It works now, sort of. No error message anymore and it's possible to change the setting but when "Locked" is selected it also checks the "Locked with power loss unlock" option. Unlocked works fine, none of the options are checked if this is selected.

Almost there :)

ahammas avatar Sep 15 '24 21:09 ahammas

@ahammas it looks like I've managed to flip the values of Locked and Locked+Power loss unlock

sockless-coding avatar Sep 16 '24 08:09 sockless-coding

Give 2024.9.3 a try, the lock settings "should" be correct now

sockless-coding avatar Sep 16 '24 19:09 sockless-coding

Great! Now it works as expected. Good job!

ahammas avatar Sep 17 '24 05:09 ahammas