Repository navigation
Expand file tree
/
Copy pathgarage_entry_light.yaml
More file actions
executable file
·53 lines (45 loc) · 1.63 KB
/
Copy pathgarage_entry_light.yaml
File metadata and controls
executable file
·53 lines (45 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Garage Entry Lights - Hallway helper automations for the garage entry
# Turns the garage hallway helper on when the entry opens and back off after it closes.
# -------------------------------------------------------------------
# Notes: Garage doors themselves are managed in config/packages/garadget.yaml.
# Video: https://youtu.be/wFO0H5zgnzk
# Companion post: https://www.vcloudinfo.com/2026/05/home-assistant-garage-automations-arrival-alerts-tesla.html
######################################################################
- alias: Garage Light Hallway Helper OPEN
id: 5ea2a2b5-e3de-4acd-823c-dac3eeaa6118
trigger:
- platform: state
entity_id: binary_sensor.mcu1_gpio12
to: 'on'
condition:
- condition: state
entity_id: light.garage_hallway
state: 'off'
action:
- service: light.turn_on
entity_id:
- light.garage_hallway
- alias: Garage Light Hallway Helper Closed
id: f6060cd7-add7-487f-9b2b-f7849db3b36d
mode: restart
trigger:
- platform: state
entity_id: binary_sensor.mcu1_gpio12
to: 'off'
for:
seconds: 15
condition:
- condition: state
entity_id: binary_sensor.mcu1_gpio12
state: 'off'
- condition: state
entity_id: light.garage_hallway
state: 'on'
action:
- service: light.turn_off
entity_id: light.garage_hallway