Skip to content

Commit

Permalink
Group kitchen, use links for outside warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegordon committed May 31, 2024
1 parent b2622a5 commit 481a471
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kitchen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ light:
entities:
- light.kitchen_cabinets
- light.kitchen_worktop_lights
- light.kitchen
- light.kitchen_ceiling_lights

automation:
- alias: Kitchen motion
Expand Down
8 changes: 8 additions & 0 deletions packages/outside_lights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ automation:
title: "Motion outside!"
message: >
Motion detected outside by {{ trigger.to_state.attributes.friendly_name }}
data:
clickAction: "/lovelace/outside"
url: "/lovelace/outside"


- alias: "Outside night lights on"
id: outside_night_lights_on
Expand Down Expand Up @@ -136,6 +140,10 @@ automation:
message: >
Motion detected outside by {{ trigger.to_state.attributes.friendly_name }}
Turning on outside lights
data:
clickAction: "/lovelace/outside"
url: "/lovelace/outside"

- service: homeassistant.turn_on
entity_id:
- group.outside_lights
Expand Down

0 comments on commit 481a471

Please sign in to comment.