weather station esphome and others

This commit is contained in:
root
2024-05-27 22:17:11 +12:00
parent 2296a4eef0
commit 945177d535

View File

@@ -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