Skip to content

Commit

Permalink
Combine more into package
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegordon committed Oct 15, 2023
1 parent fddba06 commit 1fda42c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 35 deletions.
34 changes: 34 additions & 0 deletions packages/outside_lights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,40 @@ switch:
- 0

automation:
- alias: "Outside night lights on"
trigger:
- platform: numeric_state
entity_id: sensor.average_external_light_level
below: input_number.blinds_evening
for:
minutes: 10
condition:
- condition: state
entity_id: binary_sensor.home_occupied
state: "on"
action:
- service: light.turn_on
entity_id:
- light.car_port
- light.front_door_dome
data:
brightness_pct: 100
color_temp: 400
transition: 30

- alias: Outside night lights off
trigger:
- platform: numeric_state
entity_id: sensor.average_external_light_level
above: input_number.blinds_morning
for:
minutes: 10
action:
- service: light.turn_off
entity_id:
- light.car_port
- light.front_door_dome

- alias: Outdoor lights on
id: outdoor_lights_on
trigger:
Expand Down
35 changes: 0 additions & 35 deletions packages/outside_nightlights.yaml

This file was deleted.

0 comments on commit 1fda42c

Please sign in to comment.