Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
H
Home-Assistant-Config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
open-source
Home-Assistant-Config
Commits
6af5432e
Verified
Commit
6af5432e
authored
Sep 13, 2016
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync with upstream
b74e459
parent
0fc79deb
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
314 additions
and
13 deletions
+314
-13
automations/alarm-status-indicator-off.yaml
automations/alarm-status-indicator-off.yaml
+8
-0
automations/alarm-status-indicator-on.yaml
automations/alarm-status-indicator-on.yaml
+11
-0
automations/brightness-dining-area-set.yaml
automations/brightness-dining-area-set.yaml
+12
-0
automations/brightness-dining-area-sync.yaml
automations/brightness-dining-area-sync.yaml
+14
-0
automations/brightness-living-room-set.yaml
automations/brightness-living-room-set.yaml
+12
-0
automations/brightness-living-room-sync.yaml
automations/brightness-living-room-sync.yaml
+14
-0
automations/brightness-master-bath-set.yaml
automations/brightness-master-bath-set.yaml
+13
-0
automations/brightness-master-bath-sync.yaml
automations/brightness-master-bath-sync.yaml
+17
-0
automations/kitchen-nightlight-off-sunrise.yaml
automations/kitchen-nightlight-off-sunrise.yaml
+8
-0
automations/kitchen-nightlight-off.yaml
automations/kitchen-nightlight-off.yaml
+23
-0
automations/kitchen-nightlight-on.yaml
automations/kitchen-nightlight-on.yaml
+34
-0
automations/scenes-master-bath.yaml
automations/scenes-master-bath.yaml
+3
-1
configuration.yaml
configuration.yaml
+2
-0
customizations/input-sliders.yaml
customizations/input-sliders.yaml
+7
-0
customizations/scenes.yaml
customizations/scenes.yaml
+3
-0
customizations/scripts.yaml
customizations/scripts.yaml
+6
-0
customizations/switches.yaml
customizations/switches.yaml
+5
-0
groups.yaml
groups.yaml
+23
-1
input-selects.yaml
input-selects.yaml
+2
-1
input-sliders.yaml
input-sliders.yaml
+14
-1
scenes/all-lights-off.yaml
scenes/all-lights-off.yaml
+26
-0
scenes/master-bath-dash-off.yaml
scenes/master-bath-dash-off.yaml
+8
-0
scenes/master-bath-dash-on.yaml
scenes/master-bath-dash-on.yaml
+10
-0
scripts.yaml
scripts.yaml
+12
-2
secrets.yaml
secrets.yaml
+1
-0
sensors/time-date.yaml
sensors/time-date.yaml
+8
-0
shell_commands.yaml
shell_commands.yaml
+3
-1
switches.yaml
switches.yaml
+13
-6
wemo.yaml
wemo.yaml
+2
-0
No files found.
automations/alarm-status-indicator-off.yaml
0 → 100644
View file @
6af5432e
alias
:
Alarm status indicator off
trigger
:
-
platform
:
state
entity_id
:
alarm_control_panel.shm
to
:
"
disarmed"
action
:
service
:
switch.turn_off
entity_id
:
switch.alarm_status
automations/alarm-status-indicator-on.yaml
0 → 100644
View file @
6af5432e
alias
:
Alarm status indicator on
trigger
:
-
platform
:
state
entity_id
:
alarm_control_panel.shm
to
:
"
armed_home"
-
platform
:
state
entity_id
:
alarm_control_panel.shm
to
:
"
armed_away"
action
:
service
:
switch.turn_on
entity_id
:
switch.alarm_status
automations/brightness-dining-area-set.yaml
0 → 100644
View file @
6af5432e
alias
:
Brightness Dining Area
trigger
:
platform
:
state
entity_id
:
input_slider.brightness_da
action
:
service
:
light.turn_on
data
:
entity_id
:
-
light.ceiling_fan_1
-
light.ceiling_fan_2
data_template
:
brightness
:
'
{{
states(
"input_slider.brightness_da"
)|round(
0
)
}}'
automations/brightness-dining-area-sync.yaml
0 → 100644
View file @
6af5432e
alias
:
Brightness Dining Area Sync
trigger
:
-
platform
:
state
entity_id
:
light.ceiling_fan_1
to
:
"
on"
-
platform
:
state
entity_id
:
light.ceiling_fan_2
to
:
"
on"
action
:
service
:
input_slider.select_value
data
:
entity_id
:
input_slider.brightness_da
data_template
:
value
:
'
{{
trigger.to_state.attributes.brightness|float
}}'
automations/brightness-living-room-set.yaml
0 → 100644
View file @
6af5432e
alias
:
Brightness Living Room
trigger
:
platform
:
state
entity_id
:
input_slider.brightness_lr
action
:
service
:
light.turn_on
data
:
entity_id
:
-
light.endtable
-
light.corner_table
data_template
:
brightness
:
'
{{
states(
"input_slider.brightness_lr"
)|round(
0
)
}}'
automations/brightness-living-room-sync.yaml
0 → 100644
View file @
6af5432e
alias
:
Brightness Living Room Sync
trigger
:
-
platform
:
state
entity_id
:
light.endtable
to
:
"
on"
-
platform
:
state
entity_id
:
light.corner_table
to
:
"
on"
action
:
service
:
input_slider.select_value
data
:
entity_id
:
input_slider.brightness_lr
data_template
:
value
:
'
{{
trigger.to_state.attributes.brightness|float
}}'
automations/brightness-master-bath-set.yaml
0 → 100644
View file @
6af5432e
alias
:
Brightness Master Bath
trigger
:
platform
:
state
entity_id
:
input_slider.brightness_master_bath
action
:
service
:
light.turn_on
data
:
entity_id
:
-
light.master_bath_1
-
light.master_bath_2
-
light.master_bath_3
data_template
:
brightness
:
'
{{
states(
"input_slider.brightness_master_bath"
)|round(
0
)
}}'
automations/brightness-master-bath-sync.yaml
0 → 100644
View file @
6af5432e
alias
:
Brightness Master Bath Sync
trigger
:
-
platform
:
state
entity_id
:
light.master_bath_1
to
:
"
on"
-
platform
:
state
entity_id
:
light.master_bath_2
to
:
"
on"
-
platform
:
state
entity_id
:
light.master_bath_3
to
:
"
on"
action
:
service
:
input_slider.select_value
data
:
entity_id
:
input_slider.brightness_master_bath
data_template
:
value
:
'
{{
trigger.to_state.attributes.brightness|float
}}'
automations/kitchen-nightlight-off-sunrise.yaml
0 → 100644
View file @
6af5432e
alias
:
Turn kitchen nightlight off at sunrise
trigger
:
-
platform
:
state
entity_id
:
sun.sun
to
:
'
above_horizon'
action
:
service
:
switch.turn_off
entity_id
:
switch.kitchen_nightlight
automations/kitchen-nightlight-off.yaml
0 → 100644
View file @
6af5432e
alias
:
Turn kitchen nightlight off
trigger
:
-
platform
:
state
entity_id
:
switch.kitchen
-
platform
:
state
entity_id
:
light.ceiling_fan_1
-
platform
:
state
entity_id
:
light.ceiling_fan_2
condition
:
condition
:
or
conditions
:
-
condition
:
state
entity_id
:
light.ceiling_fan_1
state
:
'
on'
-
condition
:
state
entity_id
:
light.ceiling_fan_2
state
:
'
on'
-
condition
:
state
entity_id
:
switch.kitchen
state
:
'
on'
action
:
service
:
switch.turn_off
entity_id
:
switch.kitchen_nightlight
automations/kitchen-nightlight-on.yaml
0 → 100644
View file @
6af5432e
alias
:
Turn kitchen nightlight on
trigger
:
-
platform
:
state
entity_id
:
switch.kitchen
-
platform
:
state
entity_id
:
light.ceiling_fan_1
-
platform
:
state
entity_id
:
light.ceiling_fan_2
-
platform
:
state
entity_id
:
binary_sensor.kitchen
-
platform
:
state
entity_id
:
binary_sensor.lr_motion_sensor_over_utility_closet
condition
:
condition
:
and
conditions
:
-
condition
:
state
entity_id
:
sun.sun
state
:
'
below_horizon'
-
condition
:
time
after
:
'
00:15:00'
-
condition
:
time
before
:
'
09:00:00'
-
condition
:
state
entity_id
:
light.ceiling_fan_1
state
:
'
off'
-
condition
:
state
entity_id
:
light.ceiling_fan_2
state
:
'
off'
-
condition
:
state
entity_id
:
switch.kitchen
state
:
'
off'
action
:
service
:
switch.turn_on
entity_id
:
switch.kitchen_nightlight
automations/scenes-master-bath.yaml
View file @
6af5432e
...
...
@@ -6,7 +6,9 @@ action:
-
service
:
scene.turn_on
data_template
:
entity_id
:
>
{% if is_state( "input_select.scene_master_bath", "Nightlight" ) %}
{% if is_state( "input_select.scene_master_bath", "Nightlight (single)" ) %}
scene.master_bath_dash_on
{%-elif is_state( "input_select.scene_master_bath", "Nightlight" ) %}
scene.master_bath_nightlight
{%-elif is_state( "input_select.scene_master_bath", "Dimmed" ) %}
scene.master_bath_dimmed
...
...
configuration.yaml
View file @
6af5432e
...
...
@@ -71,6 +71,8 @@ device_tracker: !include device-tracker.yaml
alarm_control_panel
:
!include
alarm-control-panel.yaml
wemo
:
!include
wemo.yaml
# Display
group
:
!include
groups.yaml
...
...
customizations/input-sliders.yaml
0 → 100644
View file @
6af5432e
input_slider.brightness_da
:
friendly_name
:
DA Brightness
icon
:
mdi:brightness-6
input_slider.brightness_lr
:
icon
:
mdi:brightness-6
input_slider.brightness_master_bath
:
icon
:
mdi:brightness-6
customizations/scenes.yaml
View file @
6af5432e
...
...
@@ -115,3 +115,6 @@ scene.balcony_concentrate:
scene.balcony_off
:
friendly_name
:
'
Off'
icon
:
mdi:flashlight-off
scene.all_lights_off
:
friendly_name
:
Lights Out
icon
:
mdi:power-plug-off
customizations/scripts.yaml
View file @
6af5432e
...
...
@@ -19,3 +19,9 @@ script.force_unlock_keyed:
script.force_disconnect_keyed
:
friendly_name
:
Disconnect Keyed
icon
:
mdi:close-octagon
script.restart_dash_button_shm
:
friendly_name
:
Restart Dash Button SHM controller
icon
:
mdi:autorenew
script.restart_dash_button_hac
:
friendly_name
:
Restart Dash Button Home Assistant controller
icon
:
mdi:autorenew
\ No newline at end of file
customizations/switches.yaml
View file @
6af5432e
...
...
@@ -10,3 +10,8 @@ switch.august_interior:
switch.august_keyed
:
friendly_name
:
Keyed Bolt
icon
:
mdi:key
switch.kitchen_nightlight
:
icon
:
mdi:theme-light-dark
switch.alarm_status
:
friendly_name
:
Alarm Status indicator
icon
:
mdi:security-home
groups.yaml
View file @
6af5432e
...
...
@@ -34,6 +34,7 @@ status_view:
icon
:
mdi:chip
entities
:
-
group.sensor_pi
-
group.time_date
-
group.sensor_battery_levels
weather_view
:
name
:
Weather
...
...
@@ -47,6 +48,7 @@ misc_view:
icon
:
mdi:power
entities
:
-
group.scripts_misc
-
group.misc_misc
-
media_player.nexus_player
locks
:
name
:
Locks
...
...
@@ -64,12 +66,14 @@ master_bathroom:
-
light.master_bath_1
-
light.master_bath_2
-
light.master_bath_3
-
input_slider.brightness_master_bath
-
input_select.scene_master_bath
living_room
:
name
:
Living Room
entities
:
-
light.endtable
-
light.corner_table
-
input_slider.brightness_lr
-
input_select.scene_lr
dining_area
:
name
:
Kitchen & Dining
...
...
@@ -77,6 +81,7 @@ dining_area:
-
switch.kitchen
-
light.ceiling_fan_1
-
light.ceiling_fan_2
-
input_slider.brightness_da
-
input_select.scene_da
office
:
name
:
Office
...
...
@@ -176,6 +181,15 @@ sensor_pi:
# - sensor.packets_sent_eth1
-
sensor.ipv4_address_eth1
-
sensor.ipv6_address_eth1
time_date
:
name
:
Time & Date
entities
:
-
sensor.time
-
sensor.date
-
sensor.date_time
-
sensor.time_date
-
sensor.time_utc
-
sensor.beat
sensor_battery_levels
:
name
:
Sensor Battery Levels
entities
:
...
...
@@ -194,7 +208,7 @@ sensor_battery_levels:
-
sensor.office_cabinet_battery_level
-
sensor.green_keys_battery_level
scripts_misc
:
name
:
Actions
name
:
Lock
Actions
entities
:
-
script.restart_august_daemon
-
script.force_lock_interior
...
...
@@ -203,6 +217,14 @@ scripts_misc:
-
script.force_lock_keyed
-
script.force_unlock_keyed
-
script.force_disconnect_keyed
misc_misc
:
name
:
Other
entities
:
-
switch.alarm_status
-
switch.kitchen_nightlight
-
scene.all_lights_off
-
script.restart_dash_button_shm
-
script.restart_dash_button_hac
wunderground
:
name
:
Wunderground
entities
:
...
...
input-selects.yaml
View file @
6af5432e
...
...
@@ -11,7 +11,7 @@ scene_balcony:
-
Read
-
Bright
scene_da
:
name
:
Scene
name
:
Dining Area
Scene
icon
:
mdi:brightness-auto
initial
:
"
-"
options
:
...
...
@@ -48,6 +48,7 @@ scene_master_bath:
options
:
-
"
-"
-
"
Off"
-
"
Nightlight
(single)"
-
Nightlight
-
Dimmed
-
Relax
...
...
input-sliders.yaml
View file @
6af5432e
office_brightness
:
brightness_da
:
name
:
Brightness
initial
:
0
min
:
1
max
:
255
step
:
1
brightness_lr
:
name
:
Brightness
initial
:
0
min
:
1
max
:
255
step
:
1
brightness_master_bath
:
name
:
Brightness
initial
:
0
min
:
1
max
:
255
step
:
1
scenes/all-lights-off.yaml
0 → 100644
View file @
6af5432e
name
:
All Lights Off
entities
:
light.master_bath_1
:
state
:
off
light.master_bath_2
:
state
:
off
light.master_bath_3
:
state
:
off
light.nightstand
:
state
:
off
light.endtable
:
state
:
off
light.corner_table
:
state
:
off
switch.kitchen
:
state
:
off
light.ceiling_fan_1
:
state
:
off
light.ceiling_fan_2
:
state
:
off
light.office
:
state
:
off
light.ericks_desk_lamp
:
state
:
off
switch.lava_lamp
:
state
:
off
scenes/master-bath-dash-off.yaml
0 → 100644
View file @
6af5432e
name
:
Master Bath Dash Off
entities
:
light.master_bath_1
:
state
:
off
light.master_bath_2
:
state
:
off
light.master_bath_3
:
state
:
off
scenes/master-bath-dash-on.yaml
0 → 100644
View file @
6af5432e
name
:
Master Bath Dash On
entities
:
light.master_bath_1
:
state
:
off
light.master_bath_2
:
state
:
on
brightness
:
1
color_temp
:
450
light.master_bath_3
:
state
:
off
scripts.yaml
View file @
6af5432e
...
...
@@ -140,10 +140,20 @@ kitchen_light_set_timeout:
entity_id
:
script.kitchen_light_timeout
kitchen_light_timeout
:
alias
:
"
Turn
off
kitchen
light
after
5
minutes
of
inactivity"
alias
:
"
Turn
off
kitchen
light
after
1
5
minutes
of
inactivity"
sequence
:
-
delay
:
minutes
:
5
minutes
:
1
5
-
service
:
switch.turn_off
data
:
entity_id
:
switch.kitchen
# Restart Dash Button SHM controller
restart_dash_button_shm
:
sequence
:
-
service
:
shell_command.restart_dash_button_shm
# Restart Dash Button Home Assistant controller
restart_dash_button_hac
:
sequence
:
-
service
:
shell_command.restart_dash_button_hac
secrets.yaml
View file @
6af5432e
...
...
@@ -13,3 +13,4 @@ wunderground_key:
wunderground_pws_id
:
logentries_token
:
mysql_recorder
:
wemo_ip
:
sensors/time-date.yaml
0 → 100644
View file @
6af5432e
platform
:
time_date
display_options
:
-
'
time'
-
'
date'
-
'
date_time'
-
'
time_date'
-
'
time_utc'
-
'
beat'
shell_commands.yaml
View file @
6af5432e
restart_august_daemon
:
/usr/bin/pm2 restart
npm
restart_august_daemon
:
/usr/bin/pm2 restart
augustctl
force_lock_keyed
:
curl http://localhost:3000/api/lock/keyed
force_lock_interior
:
curl http://localhost:3000/api/lock/interior
force_unlock_keyed
:
curl http://localhost:3000/api/unlock/keyed
force_unlock_interior
:
curl http://localhost:3000/api/unlock/interior
force_disconnect_keyed
:
curl http://localhost:3000/api/disconnect/keyed
force_disconnect_interior
:
curl http://localhost:3000/api/disconnect/interior
restart_dash_button_shm
:
/usr/bin/pm2 restart dash-button-shm
restart_dash_button_hac
:
/usr/bin/pm2 restart dash-button-hac
switches.yaml
View file @
6af5432e
...
...
@@ -19,17 +19,24 @@
payload_on
:
"
on"
payload_off
:
"
off"
retain
:
true
-
platform
:
mqtt
name
:
"
Alarm
Status"
state_topic
:
"
smartthings/Alarm
Status/switch"
command_topic
:
"
smartthings/Alarm
Status/switch"
payload_on
:
"
on"
payload_off
:
"
off"
retain
:
true
-
platform
:
command_line
switches
:
august_interior
:
oncmd
:
'
curl
"http://localhost:3000/api/lock/interior"'
offcmd
:
'
curl
"http://localhost:3000/api/unlock/interior"'
statecmd
:
'
curl
--silent
"http://localhost:3000/api/status/interior"
|
jq
".status"'
command_on
:
'
curl
"http://localhost:3000/api/lock/interior"'
command_off
:
'
curl
"http://localhost:3000/api/unlock/interior"'
command_state
:
'
curl
--silent
"http://localhost:3000/api/status/interior"
|
jq
".status"'
value_template
:
'
{{
value
==
"0"
}}'
-
platform
:
command_line
switches
:
august_keyed
:
oncmd
:
'
curl
"http://localhost:3000/api/lock/keyed"'
offcmd
:
'
curl
"http://localhost:3000/api/unlock/keyed"'
statecmd
:
'
curl
--silent
"http://localhost:3000/api/status/keyed"
|
jq
".status"'
command_on
:
'
curl
"http://localhost:3000/api/lock/keyed"'
command_off
:
'
curl
"http://localhost:3000/api/unlock/keyed"'
command_state
:
'
curl
--silent
"http://localhost:3000/api/status/keyed"
|
jq
".status"'
value_template
:
'
{{
value
==
"0"
}}'
wemo.yaml
0 → 100644
View file @
6af5432e
static
:
-
!secret
wemo_ip
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment