mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
115 lines
4.7 KiB
YAML
115 lines
4.7 KiB
YAML
automation:
|
|
- id: automation_update_energy_tariff
|
|
alias: Update Energy Tariff
|
|
# Summer rates run from June 1st through September 30
|
|
# Summer peak rate starts at 14:00 and ends at 19:00
|
|
trigger:
|
|
- platform: state
|
|
entity_id: sensor.energy_tariff
|
|
to:
|
|
- Non-Summer
|
|
- Summer Peak
|
|
- Summer Non-Peak
|
|
|
|
- platform: homeassistant
|
|
event: start
|
|
|
|
- platform: event
|
|
event_type: automation_reloaded
|
|
|
|
action:
|
|
- action: select.select_option
|
|
target:
|
|
entity_id:
|
|
- select.hourly_energy
|
|
- select.daily_energy
|
|
- select.weekly_energy
|
|
- select.monthly_energy
|
|
# - select.basement_and_laundry_lights_and_plugs_hourly
|
|
# - select.basement_and_laundry_lights_and_plugs_daily
|
|
# - select.basement_and_laundry_lights_and_plugs_weekly
|
|
# - select.basement_and_laundry_lights_and_plugs_monthly
|
|
# - select.basement_bedroom_and_furnace_room_lights_hourly
|
|
# - select.basement_bedroom_and_furnace_room_lights_daily
|
|
# - select.basement_bedroom_and_furnace_room_lights_weekly
|
|
# - select.basement_bedroom_and_furnace_room_lights_monthly
|
|
# - select.basement_plugs_hourly
|
|
# - select.basement_plugs_daily
|
|
# - select.basement_plugs_weekly
|
|
# - select.basement_plugs_monthly
|
|
# - select.basement_stairs_and_lights_hourly
|
|
# - select.basement_stairs_and_lights_daily
|
|
# - select.basement_stairs_and_lights_weekly
|
|
# - select.basement_stairs_and_lights_monthly
|
|
# - select.bathroom_plug_hourly
|
|
# - select.bathroom_plug_daily
|
|
# - select.bathroom_plug_weekly
|
|
# - select.bathroom_plug_monthly
|
|
# - select.dishwasher_hourly
|
|
# - select.dishwasher_daily
|
|
# - select.dishwasher_weekly
|
|
# - select.dishwasher_monthly
|
|
# - select.dryer_hourly
|
|
# - select.dryer_daily
|
|
# - select.dryer_weekly
|
|
# - select.dryer_monthly
|
|
# - select.front_room_plugs_hourly
|
|
# - select.front_room_plugs_daily
|
|
# - select.front_room_plugs_weekly
|
|
# - select.front_room_plugs_monthly
|
|
# - select.furnace_hourly
|
|
# - select.furnace_daily
|
|
# - select.furnace_weekly
|
|
# - select.furnace_monthly
|
|
# - select.garage_and_outside_plugs_hourly
|
|
# - select.garage_and_outside_plugs_daily
|
|
# - select.garage_and_outside_plugs_weekly
|
|
# - select.garage_and_outside_plugs_monthly
|
|
# - select.garage_outside_and_front_garage_lights_hourly
|
|
# - select.garage_outside_and_front_garage_lights_daily
|
|
# - select.garage_outside_and_front_garage_lights_weekly
|
|
# - select.garage_outside_and_front_garage_lights_monthly
|
|
# - select.heat_pump_hourly
|
|
# - select.heat_pump_daily
|
|
# - select.heat_pump_weekly
|
|
# - select.heat_pump_monthly
|
|
# - select.kitchen_1_hourly
|
|
# - select.kitchen_1_daily
|
|
# - select.kitchen_1_weekly
|
|
# - select.kitchen_1_monthly
|
|
# - select.kitchen_2_hourly
|
|
# - select.kitchen_2_daily
|
|
# - select.kitchen_2_weekly
|
|
# - select.kitchen_2_monthly
|
|
# - select.laundry_plug_hourly
|
|
# - select.laundry_plug_daily
|
|
# - select.laundry_plug_weekly
|
|
# - select.laundry_plug_monthly
|
|
# - select.master_suite_hourly
|
|
# - select.master_suite_daily
|
|
# - select.master_suite_weekly
|
|
# - select.master_suite_monthly
|
|
# - select.microwave_plug_hourly
|
|
# - select.microwave_plug_daily
|
|
# - select.microwave_plug_weekly
|
|
# - select.microwave_plug_monthly
|
|
# - select.girls_room_dining_kitchen_lights_hourly
|
|
# - select.girls_room_dining_kitchen_lights_daily
|
|
# - select.girls_room_dining_kitchen_lights_weekly
|
|
# - select.girls_room_dining_kitchen_lights_monthly
|
|
# - select.stove_hourly
|
|
# - select.stove_daily
|
|
# - select.stove_weekly
|
|
# - select.stove_monthly
|
|
# - select.sump_pump_plug_hourly
|
|
# - select.sump_pump_plug_daily
|
|
# - select.sump_pump_plug_weekly
|
|
# - select.sump_pump_plug_monthly
|
|
# - select.well_hourly
|
|
# - select.well_daily
|
|
# - select.well_weekly
|
|
# - select.well_monthly
|
|
|
|
data:
|
|
option: "{{ states('sensor.energy_tariff') }}"
|