96 lines
2.2 KiB
YAML
96 lines
2.2 KiB
YAML
homeassistant:
|
|
name: Our_House
|
|
latitude: 40.7654
|
|
longitude: -73.8175
|
|
elevation: 26
|
|
unit_system: metric
|
|
time_zone: America/New_York
|
|
auth_providers:
|
|
- type: trusted_networks
|
|
trusted_networks:
|
|
- 127.0.0.1
|
|
- ::1
|
|
- 192.168.1.0/24
|
|
- 192.168.4.0/22
|
|
allow_bypass_login: true
|
|
- type: homeassistant
|
|
frontend:
|
|
lovelace:
|
|
mode: yaml
|
|
config:
|
|
zeroconf:
|
|
http:
|
|
sun:
|
|
mobile_app:
|
|
ecobee:
|
|
api_key: hstTGuQedckV2an8XDiLSmWA4GlZ1Hy5
|
|
sensor:
|
|
- platform: time_date
|
|
display_options:
|
|
- 'date_time'
|
|
automation:
|
|
- alias: bedroomblindsup
|
|
trigger:
|
|
platform: time
|
|
at: "06:50" #military time
|
|
action:
|
|
entity_id: cover.bedroom
|
|
service: cover.open_cover
|
|
- alias: bedroomblindsdown
|
|
trigger:
|
|
platform: time
|
|
at: "09:40" #military time
|
|
action:
|
|
entity_id: cover.bedroom
|
|
service: cover.close_cover
|
|
- alias: harddrives_on
|
|
trigger:
|
|
platform: time
|
|
at: "09:30" #military time
|
|
action:
|
|
entity_id: switch.harddrives
|
|
service: switch.turn_on
|
|
- alias: harddrives_off
|
|
trigger:
|
|
platform: time
|
|
at: "21:45" #military time
|
|
action:
|
|
entity_id: switch.harddrives
|
|
service: switch.turn_off
|
|
- alias: LightsAtSunset
|
|
trigger:
|
|
platform: sun
|
|
event: sunset
|
|
action:
|
|
service: switch.turn_on
|
|
entity_id: switch.lampdrawers
|
|
tplink:
|
|
discovery: true
|
|
wemo:
|
|
static:
|
|
- 192.168.99.200 # StuBed
|
|
- 192.168.99.201 # LampDrawers
|
|
- 192.168.99.202 # BigLamp
|
|
- 192.168.99.203 # TallTree
|
|
- 192.168.99.204 # ShortTree
|
|
- 192.168.99.205 # TallTree
|
|
- 192.168.99.210 # Harddrives
|
|
switch:
|
|
- platform: template
|
|
switches:
|
|
living_room_screen_off:
|
|
friendly_name: 'living_room_screen_off'
|
|
turn_off:
|
|
- service: webostv.command
|
|
data:
|
|
{
|
|
"entity_id": "media_player.lg_webos_smart_tv",
|
|
"command": "com.webos.service.tvpower/power/turnOffScreen"
|
|
}
|
|
turn_on:
|
|
- service: webostv.command
|
|
data:
|
|
{
|
|
"entity_id": "media_player.lg_webos_smart_tv",
|
|
"command": "com.webos.service.tvpower/power/turnOnScreen"
|
|
} |