From 945177d5357b5e5a695a20f5ed317f74b6421ca1 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 May 2024 22:17:11 +1200 Subject: [PATCH] weather station esphome and others --- packages/ev_charging.yaml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/packages/ev_charging.yaml b/packages/ev_charging.yaml index 89ae71e..12c95da 100644 --- a/packages/ev_charging.yaml +++ b/packages/ev_charging.yaml @@ -1,3 +1,28 @@ +mqtt: + sensor: + - unique_id: 32a_ev_charger_power + name: "32A EV Charger Power" + state_topic: "stat/tasmo-wemosd1-7280-powermon-1/EnergyMeterCount" + value_template: "{{ value_json.EVChargerWhCount * 2 * 60 }}" + - unique_id: 16a_ev_charger_power + name: "16A EV Charger Power" + state_topic: "stat/tasmo-s4chan-7594-garage-1/EnergyMeterCount" + value_template: "{{ value_json.EVChargerWhCount * 2 * 60 }}" + +sensor: + - platform: integration + unique_id: 32a_ev_charger_power_total + name: "32A EV Charger Power Total" + source: sensor.32a_ev_charger_power + #unit_prefix: k + #round: 2 + - platform: integration + unique_id: 16a_ev_charger_power_total + name: "16A EV Charger Power Total" + source: sensor.16a_ev_charger_power + #unit_prefix: k + #round: 2 + input_select: leaf_ev_charging_mode: icon: mdi:ev-plug-type1 @@ -12,7 +37,7 @@ input_select: automation: - id: set_the_leaf_ev_charging_mode - alias: Set the Leaf EV Charging MOde + alias: Set the Leaf EV Charging Mode trigger: entity_id: input_select.leaf_ev_charging_mode platform: state