mirror of
https://github.com/nekorevend/esphome-emporia-vue-utility.git
synced 2026-01-10 05:10:40 -07:00
Re-add unit_of_measurement
This commit is contained in:
@@ -43,6 +43,7 @@ sensor:
|
||||
sensors:
|
||||
- name: "kWh Consumed"
|
||||
id: kWh_consumed
|
||||
unit_of_measurement: "kWh"
|
||||
accuracy_decimals: 3
|
||||
state_class: total_increasing
|
||||
device_class: energy
|
||||
@@ -64,6 +65,7 @@ sensor:
|
||||
|
||||
- name: "kWh Produced"
|
||||
id: kWh_produced
|
||||
unit_of_measurement: "kWh"
|
||||
accuracy_decimals: 3
|
||||
state_class: total_increasing
|
||||
device_class: energy
|
||||
@@ -101,8 +103,10 @@ sensor:
|
||||
then:
|
||||
lambda: |-
|
||||
ESP_LOGI("Vue", "Watts = %0.3f", x);
|
||||
|
||||
- name: "kWh Net"
|
||||
id: kWh_net
|
||||
unit_of_measurement: "kWh"
|
||||
accuracy_decimals: 3
|
||||
device_class: energy
|
||||
# Reduce the rate of reporting the value to
|
||||
|
||||
@@ -43,6 +43,7 @@ sensor:
|
||||
sensors:
|
||||
- name: "kWh"
|
||||
id: kwh
|
||||
unit_of_measurement: "kWh"
|
||||
accuracy_decimals: 3
|
||||
state_class: total_increasing
|
||||
device_class: energy
|
||||
|
||||
Reference in New Issue
Block a user