Commit 0ca0c402 authored by Erick Hitter's avatar Erick Hitter

Sync with upstream

bffc6a9
parent f843d942
......@@ -2,12 +2,11 @@ alias: Slack notification for office cabinet access
trigger:
- platform: state
entity_id: binary_sensor.office_cabinet
to: "off"
to: "on"
- platform: state
entity_id: binary_sensor.office_cabinet_door_motion
to: "on"
action:
service: notify.slack
service: notify.mattermost
data:
message: ':bellhop_bell: *Office cabinet accessed*'
target: '#home'
message: ':bell: **Office cabinet accessed**'
......@@ -8,7 +8,7 @@ action:
data:
message: "Office APC has status \"{{ states( 'sensor.ups_status' ) }}\""
target: !secret jabber_recipient
- service: notify.slack
- service: notify.mattermost
data:
message: ":exclamation: :battery: Office APC has status \"{{ states( 'sensor.ups_status' ) }}\""
target: '#home'
......@@ -8,7 +8,7 @@ action:
data:
message: 'Office APC is "ONLINE"'
target: !secret jabber_recipient
- service: notify.slack
- service: notify.mattermost
data:
message: ':exclamation: :electric_plug: Office APC is "ONLINE"'
target: '#home'
......@@ -2,7 +2,7 @@ alias: 'Turn off balcony at sunrise'
trigger:
platform: sun
event: sunrise
offset: "+00:60:00"
offset: "+00:30:00"
condition:
- condition: state
entity_id: light.balcony
......
......@@ -2,21 +2,15 @@ alias: Turn on dining area lights when front door opens
trigger:
platform: state
entity_id: binary_sensor.front_door
to: 'off'
to: 'on'
condition:
condition: and
conditions:
- condition: state
entity_id: light.ceiling_fan_1
entity_id: group.living_room
state: 'off'
- condition: state
entity_id: light.ceiling_fan_2
state: 'off'
- condition: state
entity_id: light.endtable
state: 'off'
- condition: state
entity_id: light.corner_table
entity_id: group.dining_area
state: 'off'
- condition: state
entity_id: binary_sensor.lr_motion_sensor_over_slider
......
alias: Turn on lights when dining room window opened from outside
trigger:
platform: state
entity_id: binary_sensor.dining_area_window_motion
to: 'on'
condition:
condition: and
conditions:
- condition: state
entity_id: binary_sensor.lr_motion_sensor_over_slider
state: 'off'
- condition: state
entity_id: binary_sensor.lr_motion_sensor_over_utility_closet
state: 'off'
- condition: state
entity_id: binary_sensor.kitchen
state: 'off'
action:
service: scene.turn_on
entity_id:
- scene.da_bright
- scene.lr_bright
- scene.office_bright
- scene.master_bedroom_bright
- scene.master_bath_bright
- scene.balcony_bright
alias: Turn off certain lights when no one is home
trigger:
platform: state
entity_id: group.presence
from: 'home'
to: 'not_home'
action:
service: switch.turn_off
entity_id:
- switch.lava_lamp
......@@ -35,7 +35,7 @@ action:
data:
message: 'MAYBE AN EARTHQUAKE?!? ALL ACCELEROMETERS ARE ACTIVE.'
target: !secret jabber_recipient
- service: notify.slack
- service: notify.mattermost
data:
message: 'MAYBE AN EARTHQUAKE?!? ALL ACCELEROMETERS ARE ACTIVE.'
target:
......
......@@ -3,11 +3,6 @@ trigger:
platform: state
entity_id: updater.updater
action:
- service: notify.jabber
data:
message: 'There is a new release of Home Assistant available.'
target: !secret jabber_recipient
- service: notify.slack
data:
message: ':exclamation: There is a new release of Home Assistant available.'
target: '#home'
service: notify.mattermost
data:
message: ':exclamation: There is a new release of Home Assistant available.'
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Dining Area Window/acceleration"
name: "Dining Area Window motion"
payload_on: "active"
payload_off: "inactive"
sensor_class: moving
device_class: moving
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Front Door/acceleration"
name: "Front Door motion"
payload_on: "active"
payload_off: "inactive"
sensor_class: moving
device_class: moving
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Master Bedroom Window/acceleration"
name: "Master Bedroom Window motion"
payload_on: "active"
payload_off: "inactive"
sensor_class: moving
device_class: moving
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Office Cabinet/acceleration"
name: "Office Cabinet door motion"
payload_on: "active"
payload_off: "inactive"
sensor_class: moving
device_class: moving
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Office Window/acceleration"
name: "Office Window motion"
payload_on: "active"
payload_off: "inactive"
sensor_class: moving
device_class: moving
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Slider/acceleration"
name: "Slider motion"
payload_on: "active"
payload_off: "inactive"
sensor_class: moving
device_class: moving
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Living Room Alarm/carbonMonoxide"
name: "Living Room CO Detector"
payload_on: "detected"
payload_off: "clear"
sensor_class: gas
device_class: gas
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Master Bedroom Alarm/carbonMonoxide"
name: "Master Bedroom CO Detector"
payload_on: "detected"
payload_off: "clear"
sensor_class: gas
device_class: gas
platform: mqtt
state_topic: "smartthings/Dining Area Window/contact"
name: "Dining Area Window"
payload_on: "closed"
payload_off: "open"
sensor_class: opening
payload_on: "open"
payload_off: "closed"
device_class: opening
platform: mqtt
state_topic: "smartthings/Front Door/contact"
name: "Front Door"
payload_on: "closed"
payload_off: "open"
sensor_class: opening
payload_on: "open"
payload_off: "closed"
device_class: opening
platform: mqtt
state_topic: "smartthings/Master Bedroom Window/contact"
name: "Master Bedroom Window"
payload_on: "closed"
payload_off: "open"
sensor_class: opening
payload_on: "open"
payload_off: "closed"
device_class: opening
platform: mqtt
state_topic: "smartthings/Office Cabinet/contact"
name: "Office Cabinet"
payload_on: "closed"
payload_off: "open"
sensor_class: opening
payload_on: "open"
payload_off: "closed"
device_class: opening
platform: mqtt
state_topic: "smartthings/Office Window/contact"
name: "Office Window"
payload_on: "closed"
payload_off: "open"
sensor_class: opening
payload_on: "open"
payload_off: "closed"
device_class: opening
platform: mqtt
state_topic: "smartthings/Slider/contact"
name: "Slider"
payload_on: "closed"
payload_off: "open"
sensor_class: opening
payload_on: "open"
payload_off: "closed"
device_class: opening
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Dining Area Motion Sensor near cabinets/motion"
name: "Kitchen"
payload_on: "active"
payload_off: "inactive"
sensor_class: motion
device_class: motion
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Office Motion Sensor Far Wall/motion"
name: "Office Motion Sensor Far Wall"
payload_on: "active"
payload_off: "inactive"
sensor_class: motion
device_class: motion
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Office Motion Sensor over Closet/motion"
name: "Office Motion Sensor over Closet"
payload_on: "active"
payload_off: "inactive"
sensor_class: motion
device_class: motion
......@@ -3,4 +3,4 @@ state_topic: "smartthings/LR Motion Sensor over Slider/motion"
name: "LR Motion Sensor over Slider"
payload_on: "active"
payload_off: "inactive"
sensor_class: motion
device_class: motion
......@@ -3,4 +3,4 @@ state_topic: "smartthings/LR Motion Sensor over Utility Closet/motion"
name: "LR Motion Sensor over Utility Closet"
payload_on: "active"
payload_off: "inactive"
sensor_class: motion
device_class: motion
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Living Room Alarm/smoke"
name: "Living Room Smoke Detector"
payload_on: "detected"
payload_off: "clear"
sensor_class: smoke
device_class: smoke
......@@ -3,4 +3,4 @@ state_topic: "smartthings/Master Bedroom Alarm/smoke"
name: "Master Bedroom Smoke Detector"
payload_on: "detected"
payload_off: "clear"
sensor_class: smoke
device_class: smoke
......@@ -43,9 +43,6 @@ recorder:
purge_days: 14
db_url: !secret mysql_recorder
# Also log states to InfluxDB
influxdb: !include influxdb.yaml
# Enables support for tracking state changes over time.
history:
......@@ -95,6 +92,15 @@ panel_iframe: !include panels-iframe.yaml
apcupsd:
emulated_hue:
type: google_home
host_ip: !secret host_ip
listen_port: 80
expose_by_default: true
exposed_domains:
- switch
- light
# Display
group: !include groups.yaml
......
......@@ -12,3 +12,5 @@ light.master_bath_2:
friendly_name: Vanity Center
light.master_bath_3:
friendly_name: Vanity Right
light.balcony:
friendly_name: Sconce
......@@ -7,11 +7,19 @@ switch.wireless_charger:
switch.august_interior:
friendly_name: Interior Bolt
icon: mdi:key
emulated_hue: false
switch.august_keyed:
friendly_name: Keyed Bolt
icon: mdi:key
emulated_hue: false
switch.kitchen_nightlight:
icon: mdi:theme-light-dark
switch.alarm_status:
friendly_name: Alarm Status indicator
icon: mdi:security-home
switch.balcony_christmas_lights:
friendly_name: Christmas Lights
icon: mdi:led-outline
switch.christmas_tree:
friendly_name: Christmas Tree
icon: mdi:pine-tree
......@@ -97,6 +97,7 @@ balcony:
entities:
- light.balcony
- input_select.scene_balcony
- switch.balcony_outlet
other:
name: Other
entities:
......
host: !secret influxdb_host
database: !secret influxdb_db
username: !secret influxdb_user
password: !secret influxdb_password
ssl: true
verify_ssl: true
whitelist:
- sensor.master_bedroom_window
- sensor.slider
- sensor.above_slider
- sensor.above_utility_closet
- sensor.front_door
- sensor.dining_area_window
- sensor.kitchen
- sensor.office_window
- sensor.office_near_closet
- sensor.office_far_wall
- sensor.office_cabinet
......@@ -4,7 +4,8 @@
password: !secret jabber_password
recipient: !secret jabber_recipient
tls: true
- name: slack
platform: slack
api_key: !secret slack_api_key
default_channel: '#home'
- name: mattermost
platform: rest
resource: !secret mattermost_webhook
method: POST
message_param_name: 'text'
host_ip:
api_password:
latitude:
longitude:
......@@ -15,9 +16,8 @@ wunderground_forecast_url:
logentries_token:
mysql_recorder:
wemo_kitchen_ip:
slack_api_key:
influxdb_host:
influxdb_user:
influxdb_password:
influxdb_db:
pi_hole_host:
pi_hole_backup_host:
pi_hole_admin:
monit_admin:
mattermost_webhook:
......@@ -26,6 +26,20 @@
payload_on: "on"
payload_off: "off"
retain: true
- platform: mqtt
name: "Balcony Outlet"
state_topic: "smartthings/Balcony Outlet/switch"
command_topic: "smartthings/Balcony Outlet/switch"
payload_on: "on"
payload_off: "off"
retain: true
- platform: mqtt
name: "Christmas Tree"
state_topic: "smartthings/Spare Outlet/switch"
command_topic: "smartthings/Spare Outlet/switch"
payload_on: "on"
payload_off: "off"
retain: true
- platform: command_line
switches:
august_interior:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment