We have 2 hybrid electric cars. The kWh usage is shown together by 1 meter. I would like to divide this over 2 separate meters / sensors so I can monitor both cars in the energy dashbord.
Main sensor : “sensor.seat_leon_summation_delivered”
When:
- condition: state entity_id: device_tracker.leonsp14ehybfr_5t150_ml7a6_position
state: home - condition: state entity_id: switch.leonsp14ehybfr_5t150_ml7a6_charging
state: “on”
Then: kWh of “sensor.seat_leon_summation_delivered” should be mentioned at the new sensor “sensor.seat_leon2_summation_delivered”
if conditions are not “home” and “on”
Then: kWh of “sensor.seat_leon_summation_delivered” should be mentioned at the new sensor “sensor.peugeot_e208_summation_delivered”.
If have googled a lot but google and the advice’s so far (sjabloonsensor, utility_meter, template sensor) did not provide the solution.
Does any have a idea how to solve this? Thanks!