smartenergycontrol-be / home-assistant-smappee-charging-profiles

GNU General Public License v3.0
5 stars 1 forks source link

Paused not working #1

Closed lieven121 closed 1 month ago

lieven121 commented 1 month ago

image

I found a bug when setting mode to paused

this is the card i use

show_name: true show_icon: true type: button tap_action: action: perform-action perform_action: smappee_charging_profiles.set_charging_mode data: serial: 'redacted' mode: PAUSED target: {} name: Pause Charger icon: fapro:pause layout_options: grid_columns: 1 grid_rows: 3

when i try it in developser tools i get an unkown error

it does work with Normal mode

Let me also thank you for setting this up

scruysberghs commented 1 month ago

hadn't tested PAUSED yet. Committed a small fix that should fix this... Have the UI set up like this now with a slider and and a mode selector image

lieven121 commented 1 month ago

Can confirm it works