Update Energy Package
This commit is contained in:
@@ -481,8 +481,8 @@ template:
|
|||||||
# Utility Meters
|
# Utility Meters
|
||||||
utility_meter:
|
utility_meter:
|
||||||
daily_energy:
|
daily_energy:
|
||||||
source: sensor.emporia_net_energy
|
source: sensor.total_energy_from_grid
|
||||||
name: Daily Energy
|
name: Daily Energy Consumption
|
||||||
cycle: daily
|
cycle: daily
|
||||||
tariffs:
|
tariffs:
|
||||||
- Super Off-Peak
|
- Super Off-Peak
|
||||||
@@ -490,6 +490,36 @@ utility_meter:
|
|||||||
- Mid-Peak
|
- Mid-Peak
|
||||||
- On-Peak
|
- On-Peak
|
||||||
|
|
||||||
|
monthly_consumed:
|
||||||
|
source: sensor.total_energy_from_grid
|
||||||
|
name: Monthly Energy Consumption
|
||||||
|
cron: 0 0 10 * *
|
||||||
|
tariffs:
|
||||||
|
- Super Off-Peak
|
||||||
|
- Off-Peak
|
||||||
|
- Mid-Peak
|
||||||
|
- On-Peak
|
||||||
|
|
||||||
|
monthly_generated:
|
||||||
|
source: sensor.total_energy_to_grid
|
||||||
|
name: Monthly Energy Generation
|
||||||
|
cron: 0 0 10 * *
|
||||||
|
|
||||||
|
yearly_consumed:
|
||||||
|
source: sensor.total_energy_from_grid
|
||||||
|
name: Yearly Energy Consumption
|
||||||
|
cron: 0 0 10 7 *
|
||||||
|
tariffs:
|
||||||
|
- Super Off-Peak
|
||||||
|
- Off-Peak
|
||||||
|
- Mid-Peak
|
||||||
|
- On-Peak
|
||||||
|
|
||||||
|
yearly_generated:
|
||||||
|
source: sensor.total_energy_to_grid
|
||||||
|
name: Yearly Energy Generation
|
||||||
|
cron: 0 0 10 7 *
|
||||||
|
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
@@ -506,3 +536,16 @@ automation:
|
|||||||
entity_id: select.daily_energy
|
entity_id: select.daily_energy
|
||||||
data:
|
data:
|
||||||
option: "{{ sensor.tou_period }}"
|
option: "{{ sensor.tou_period }}"
|
||||||
|
|
||||||
|
- service: select.select_option
|
||||||
|
target:
|
||||||
|
entity_id: select.monthly_consumed
|
||||||
|
data:
|
||||||
|
option: "{{ sensor.tou_period }}"
|
||||||
|
|
||||||
|
- service: select.select_option
|
||||||
|
target:
|
||||||
|
entity_id: select.yearly_consumed
|
||||||
|
data:
|
||||||
|
option: "{{ sensor.tou_period }}"
|
||||||
|
|
||||||
|
|||||||
@@ -132,8 +132,8 @@ template:
|
|||||||
# Utility Meters
|
# Utility Meters
|
||||||
utility_meter:
|
utility_meter:
|
||||||
daily_energy:
|
daily_energy:
|
||||||
source: sensor.emporia_net_energy
|
source: sensor.total_energy_from_grid
|
||||||
name: Daily Energy
|
name: Daily Energy Consumption
|
||||||
cycle: daily
|
cycle: daily
|
||||||
tariffs:
|
tariffs:
|
||||||
- Super Off-Peak
|
- Super Off-Peak
|
||||||
@@ -141,6 +141,36 @@ utility_meter:
|
|||||||
- Mid-Peak
|
- Mid-Peak
|
||||||
- On-Peak
|
- On-Peak
|
||||||
|
|
||||||
|
monthly_consumed:
|
||||||
|
source: sensor.total_energy_from_grid
|
||||||
|
name: Monthly Energy Consumption
|
||||||
|
cron: 0 0 10 * *
|
||||||
|
tariffs:
|
||||||
|
- Super Off-Peak
|
||||||
|
- Off-Peak
|
||||||
|
- Mid-Peak
|
||||||
|
- On-Peak
|
||||||
|
|
||||||
|
monthly_generated:
|
||||||
|
source: sensor.total_energy_to_grid
|
||||||
|
name: Monthly Energy Generation
|
||||||
|
cron: 0 0 10 * *
|
||||||
|
|
||||||
|
yearly_consumed:
|
||||||
|
source: sensor.total_energy_from_grid
|
||||||
|
name: Yearly Energy Consumption
|
||||||
|
cron: 0 0 10 7 *
|
||||||
|
tariffs:
|
||||||
|
- Super Off-Peak
|
||||||
|
- Off-Peak
|
||||||
|
- Mid-Peak
|
||||||
|
- On-Peak
|
||||||
|
|
||||||
|
yearly_generated:
|
||||||
|
source: sensor.total_energy_to_grid
|
||||||
|
name: Yearly Energy Generation
|
||||||
|
cron: 0 0 10 7 *
|
||||||
|
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
@@ -158,3 +188,16 @@ automation:
|
|||||||
data:
|
data:
|
||||||
option: "{{ sensor.tou_period }}"
|
option: "{{ sensor.tou_period }}"
|
||||||
|
|
||||||
|
- service: select.select_option
|
||||||
|
target:
|
||||||
|
entity_id: select.monthly_consumed
|
||||||
|
data:
|
||||||
|
option: "{{ sensor.tou_period }}"
|
||||||
|
|
||||||
|
- service: select.select_option
|
||||||
|
target:
|
||||||
|
entity_id: select.yearly_consumed
|
||||||
|
data:
|
||||||
|
option: "{{ sensor.tou_period }}"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user