Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
139 stars 28 forks source link

Combine Charging Connection Status and Charging System Status #213

Closed mmierke closed 1 month ago

mmierke commented 1 month ago

Describe the solution you'd like Combine Charging Connection Status and Charging System Status into a single sensor with the values disconnected, connected, charging

Describe alternatives you've considered Today I use a helper template sensor to achieve the same {% if isstate("sensor.volvo..._charging_connection_status","Disconnected")-%} disconnected {%- else -%} {% if isstate("sensor.volvo..._charging_system_status","Charging")-%} charging {%- else -%}
connected {%- endif %} {%- endif %}

Additional context

Dielee commented 1 month ago

Volvo2mqtt only delivers raw API data, I will not change this. Sorry.