Update Energy Package

This commit is contained in:
2022-08-10 12:56:32 -07:00
parent a993e0110f
commit b2446aa9ac

View File

@@ -107,7 +107,7 @@ template:
- name: TOU Period
icon: mdi:calendar-clock
state: >
{% set is_weekend = now().strftime("%w") == 0 or now().strftime("%w") == 6 %}
{% set is_weekend = now().strftime("%w") == "0" or now().strftime("%w") == "6" %}
{% if states('sensor.tou_season') == "Summer" %}
{% if now().hour >= 16 and now().hour < 21 %}
{% if is_weekend %}
@@ -144,7 +144,7 @@ utility_meter:
monthly_consumed:
source: sensor.total_energy_from_grid
name: Monthly Energy Consumption
cron: 0 0 10 * *
cron: 0 0 8 * *
tariffs:
- Super Off-Peak
- Off-Peak
@@ -154,12 +154,12 @@ utility_meter:
monthly_generated:
source: sensor.total_energy_to_grid
name: Monthly Energy Generation
cron: 0 0 10 * *
cron: 0 0 8 * *
yearly_consumed:
source: sensor.total_energy_from_grid
name: Yearly Energy Consumption
cron: 0 0 10 7 *
cron: 0 0 15 7 *
tariffs:
- Super Off-Peak
- Off-Peak
@@ -169,7 +169,7 @@ utility_meter:
yearly_generated:
source: sensor.total_energy_to_grid
name: Yearly Energy Generation
cron: 0 0 10 7 *
cron: 0 0 15 7 *
automation: