Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jun 20, 2023
0 parents commit 321772a
Show file tree
Hide file tree
Showing 1,743 changed files with 98,904 additions and 0 deletions.
1 change: 1 addition & 0 deletions .HA_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2023.6.2
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
quote_type = single

[*.md]
trim_trailing_whitespace = false
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.cloud/
.storage/
*.db
*.db-shm
*.db-wal
*.log
*.log.*
*.db
secrets.yaml
image/
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"*.yaml": "home-assistant"
}
}
30 changes: 30 additions & 0 deletions automations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
- id: '1686576758103'
alias: Notify when Jens arrive at Volleyball
description: ''
trigger:
- platform: geo_location
source: device_tracker.jens
zone: zone.volleyball
event: enter
condition: []
action:
- service: notify.parents
data:
title: "\U0001F3D0 Volleyball"
message: Jens has arrived at Volleyball.
mode: single
- id: '1686576926556'
alias: New Automation
description: ''
trigger:
- platform: zone
entity_id: person.jens
zone: zone.volleyball
event: enter
condition: []
action:
- service: notify.parents
data:
title: Volleyball
message: Jens has arrive at Volleyball.
mode: single
20 changes: 20 additions & 0 deletions automations/buttons/bedroom_ceiling_light_switch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
id: 2da287d4-06a6-11ee-be56-0242ac120002
alias: Bedroom Ceiling Light Switch
description: ''

use_blueprint:
path: EPMatt/ikea_e1743.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.bedroom_ceiling_light_switch_action
helper_last_controller_event: input_text.bedroom_ceiling_light_switch
action_button_up_short:
- service: light.turn_on
data: {}
target:
device_id: 15ea5e855efdb27b362dd8725d47e961
action_button_down_short:
- service: light.turn_off
data: {}
target:
device_id: 15ea5e855efdb27b362dd8725d47e961
20 changes: 20 additions & 0 deletions automations/buttons/bedroom_left_bedside_switch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
id: 328dbe8a-06a6-11ee-be56-0242ac120002
alias: Bedroom Left Bedside Switch
description: ''

use_blueprint:
path: EPMatt/ikea_e1743.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.bedroom_left_bedside_switch_action
helper_last_controller_event: input_text.bedroom_left_bedside_switch
action_button_up_short:
- service: light.turn_on
data: {}
target:
device_id: 15ea5e855efdb27b362dd8725d47e961
action_button_down_short:
- service: light.turn_off
data: {}
target:
device_id: 15ea5e855efdb27b362dd8725d47e961
20 changes: 20 additions & 0 deletions automations/buttons/bedroom_right_bedside_switch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
id: 3699b038-06a6-11ee-be56-0242ac120002
alias: Bedroom Right Bedside Switch
description: ''

use_blueprint:
path: EPMatt/ikea_e1743.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.bedroom_right_bedside_switch_action
helper_last_controller_event: input_text.bedroom_right_bedside_switch
action_button_up_short:
- service: light.turn_on
data: {}
target:
device_id: e85627807df1e28343097ddab1d1c8f8
action_button_down_short:
- service: light.turn_off
data: {}
target:
device_id: e85627807df1e28343097ddab1d1c8f8
20 changes: 20 additions & 0 deletions automations/buttons/kids_room_shortcut_button.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
id: 3b55fef6-06a6-11ee-be56-0242ac120002
alias: Kids Room Shortcut Button
description: ''

use_blueprint:
path: EPMatt/ikea_e1812.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.kids_room_shortcut_button_action
helper_last_controller_event: input_text.kids_room_shortcut_button
action_button_short:
- service: light.toggle
data: {}
target:
device_id: 0e2de7c93f4d91517ad5f0b24a66bd79
action_button_long:
- service: light.toggle
data: {}
target:
device_id: efed7354b3c57de1fb089a0708f3375b
20 changes: 20 additions & 0 deletions automations/buttons/kitchen_lights_switch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
id: 3f386afe-06a6-11ee-be56-0242ac120002
alias: Kitchen Lights Switch
description: ''

use_blueprint:
path: EPMatt/ikea_e1743.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.kitchen_lights_switch_action
helper_last_controller_event: input_text.kitchen_lights_switch
action_button_up_short:
- service: light.turn_on
data: {}
target:
device_id: 105c00044612e5f684c0b394c13fe254
action_button_down_short:
- service: light.turn_off
data: {}
target:
device_id: 105c00044612e5f684c0b394c13fe254
17 changes: 17 additions & 0 deletions automations/buttons/living_room_shortcut_button.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
id: 436128b4-06a6-11ee-be56-0242ac120002
alias: Living Room Shortcut Button
description: ''

use_blueprint:
path: EPMatt/ikea_e1812.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.living_room_shortcut_button_action
helper_last_controller_event: input_text.living_room_shortcut_button
action_button_short:
- service: light.toggle
data: {}
target:
device_id:
- c9d4c69c32942c0267114791a03d4068
- 5e138850a50d603210f76cf09ff41ed4
55 changes: 55 additions & 0 deletions automations/hallway_front_door.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
id: 1611087a-06a6-11ee-be56-0242ac120002
alias: "Hallway Front Door Notifications"

trigger:
- platform: state
entity_id: binary_sensor.hallway_front_door
from: "off"
to: "on"
id: opened
- platform: state
entity_id: binary_sensor.hallway_front_door
from: "on"
to: "off"
id: closed
- platform: state
entity_id: binary_sensor.hallway_front_door
from: "off"
to: "on"
for: 00:05:00
id: left_opened

condition: []

action:
- choose:
- conditions:
- condition: trigger
id: opened
sequence:
- service: notify.parents
data:
title: "Home"
message: "Front Door was opened."
- conditions:
- condition: trigger
id: closed
sequence:
- service: notify.parents
data:
title: "Home"
message: "Front Door was closed."
- conditions:
- condition: trigger
id: left_opened
sequence:
- service: notify.parents
data:
title: "Home"
data:
push:
sound:
name: default
critical: 1
volume: 0.5
message: "Front Door has been left open."
25 changes: 25 additions & 0 deletions automations/lights/living_room_tv_lights_off.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
id: 484a402c-06a6-11ee-be56-0242ac120002
alias: Turn off TV lights when TV stops playing

description: ''

trigger:
- platform: state
entity_id:
- media_player.living_room_apple_tv
- media_player.living_room_tv
from: playing
for:
hours: 0
minutes: 0
seconds: 5

condition: []

action:
- service: light.turn_off
data: {}
target:
entity_id: light.living_room_tv_lights

mode: single
24 changes: 24 additions & 0 deletions automations/lights/living_room_tv_lights_on.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
id: 4b293604-06a6-11ee-be56-0242ac120002
alias: Turn on TV lights when TV is playing
description: ''

trigger:
- platform: state
entity_id:
- media_player.living_room_apple_tv
- media_player.living_room_tv
to: playing
for:
hours: 0
minutes: 0
seconds: 5

condition: []

action:
- service: light.turn_on
data: {}
target:
entity_id: light.living_room_tv_lights

mode: single
15 changes: 15 additions & 0 deletions automations/zones/volleyball_arrive.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
id: '1686576926556'
alias: Notify when Jens arrive at Volleyball
description: ''
trigger:
- platform: zone
entity_id: person.jens
zone: zone.volleyball
event: enter
condition: []
action:
- service: notify.parents
data:
title: "\U0001F3D0 Volleyball"
message: Jens has arrived at Volleyball.
mode: single
15 changes: 15 additions & 0 deletions automations/zones/volleyball_exit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
id: '1686576926123'
alias: Notify when Jens leaves Volleyball
description: ''
trigger:
- platform: zone
entity_id: person.jens
zone: zone.volleyball
event: leave
condition: []
action:
- service: notify.parents
data:
title: "\U0001F3D0 Volleyball"
message: Jens has left the Volleyball.
mode: single
Loading

0 comments on commit 321772a

Please sign in to comment.