Update Energy Package

This commit is contained in:
2022-08-03 11:47:25 -07:00
parent c15f4e8ec4
commit c0943b69b8
2 changed files with 12 additions and 0 deletions

View File

@@ -11,18 +11,21 @@ sensor:
- name: Total Energy From Grid - name: Total Energy From Grid
platform: integration platform: integration
device_class: energy
source: sensor.emporia_vue_net_power_from_grid source: sensor.emporia_vue_net_power_from_grid
unit_prefix: k unit_prefix: k
unit_time: h unit_time: h
- name: Total Energy To Grid - name: Total Energy To Grid
platform: integration platform: integration
device_class: energy
source: sensor.emporia_vue_net_power_to_grid source: sensor.emporia_vue_net_power_to_grid
unit_prefix: k unit_prefix: k
unit_time: h unit_time: h
- name: Home Total Energy - name: Home Total Energy
platform: integration platform: integration
device_class: energy
source: sensor.home_power_consumption source: sensor.home_power_consumption
unit_prefix: k unit_prefix: k
unit_time: h unit_time: h
@@ -415,6 +418,7 @@ template:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Emporia Vue To/From Grid Sensors # Emporia Vue To/From Grid Sensors
- name: Emporia Vue Net Power From Grid - name: Emporia Vue Net Power From Grid
device_class: power
unit_of_measurement: W unit_of_measurement: W
state: > state: >
{% set net_power = states('sensor.emporia_d937d0_1min')|float %}{{ {% set net_power = states('sensor.emporia_d937d0_1min')|float %}{{
@@ -422,6 +426,7 @@ template:
}} }}
- name: Emporia Vue Net Power To Grid - name: Emporia Vue Net Power To Grid
device_class: power
unit_of_measurement: W unit_of_measurement: W
state: > state: >
{% set net_power = states('sensor.emporia_d937d0_1min')|float %}{{ {% set net_power = states('sensor.emporia_d937d0_1min')|float %}{{
@@ -431,6 +436,7 @@ template:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Home Total Power Consumption Sensor # Home Total Power Consumption Sensor
- name: Home Power Consumption - name: Home Power Consumption
device_class: power
unit_of_measurement: W unit_of_measurement: W
state: > state: >
{{ {{

View File

@@ -11,18 +11,21 @@ sensor:
- name: Total Energy From Grid - name: Total Energy From Grid
platform: integration platform: integration
device_class: energy
source: sensor.emporia_vue_net_power_from_grid source: sensor.emporia_vue_net_power_from_grid
unit_prefix: k unit_prefix: k
unit_time: h unit_time: h
- name: Total Energy To Grid - name: Total Energy To Grid
platform: integration platform: integration
device_class: energy
source: sensor.emporia_vue_net_power_to_grid source: sensor.emporia_vue_net_power_to_grid
unit_prefix: k unit_prefix: k
unit_time: h unit_time: h
- name: Home Total Energy - name: Home Total Energy
platform: integration platform: integration
device_class: energy
source: sensor.home_power_consumption source: sensor.home_power_consumption
unit_prefix: k unit_prefix: k
unit_time: h unit_time: h
@@ -66,6 +69,7 @@ template:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Emporia Vue To/From Grid Sensors # Emporia Vue To/From Grid Sensors
- name: Emporia Vue Net Power From Grid - name: Emporia Vue Net Power From Grid
device_class: power
unit_of_measurement: W unit_of_measurement: W
state: > state: >
{% set net_power = states('sensor.emporia_d937d0_1min')|float %}{{ {% set net_power = states('sensor.emporia_d937d0_1min')|float %}{{
@@ -73,6 +77,7 @@ template:
}} }}
- name: Emporia Vue Net Power To Grid - name: Emporia Vue Net Power To Grid
device_class: power
unit_of_measurement: W unit_of_measurement: W
state: > state: >
{% set net_power = states('sensor.emporia_d937d0_1min')|float %}{{ {% set net_power = states('sensor.emporia_d937d0_1min')|float %}{{
@@ -82,6 +87,7 @@ template:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Home Total Power Consumption Sensor # Home Total Power Consumption Sensor
- name: Home Power Consumption - name: Home Power Consumption
device_class: power
unit_of_measurement: W unit_of_measurement: W
state: > state: >
{{ {{