cathiele / homeassistant-goecharger

Home Assistant custom_component for controlling the go-eCharger EV-Charger
MIT License
89 stars 29 forks source link

Read car_status in automation #50

Open Kaladasas opened 2 years ago

Kaladasas commented 2 years ago

I´m trying to react on the different states of car_status via automation. Currently I´m only able to show the state via a message. message: '{{ states(''sensor.goecharger_charger1_car_status'') }}' This will print out the english text instead of a numerical value. How do I get the numerical value and what data type do I have to set for the trigger?

fippsy33 commented 1 year ago

Hello,

have you find a solution for your issue? I have the same problem. I want to start charging when my PV-SOC is full but i want to be safe and check if a car is connected. Thanks for help!