Skip to content

Commit

Permalink
Keep office blinds down if keylights are on.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannytsang committed Sep 26, 2024
1 parent 603d344 commit 456d617
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/rooms/office.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,9 @@ automation:
- condition: state
entity_id: binary_sensor.office_windows
state: "off"
- condition: state
entity_id: light.office_key_lights
state: "off"
action:
- service: script.send_to_home_log
data:
Expand Down Expand Up @@ -1317,6 +1320,29 @@ automation:
target:
entity_id: climate.office_air_conditioner
mode: single
- id: "1725986264578"
alias: "Office: Negative Rates Turn On Air Conditioner"
description: ""
trigger:
- platform: numeric_state
entity_id:
- event.octopus_energy_electricity_19l3860833_1012829255330_current_day_rates
below: 0
condition:
- condition: state
entity_id: input_boolean.office_air_conditioner_on_when_electricity_cost_nothing
state: "on"
- condition: state
entity_id: input_boolean.enable_office_air_conditioner_automations
state: "on"
action:
- service: climate.set_hvac_mode
metadata: {}
data:
hvac_mode: cool
target:
entity_id: climate.office_air_conditioner
mode: single

scene:
- id: "1600795089307"
Expand Down

0 comments on commit 456d617

Please sign in to comment.