74 lines
1.6 KiB
YAML
74 lines
1.6 KiB
YAML
frontend:
|
|
lovelace:
|
|
mode: yaml
|
|
recorder:
|
|
db_url: mysql://house:x3147qwfsbb9ctWy@192.168.86.198/house?charset=utf8
|
|
purge_interval: 0
|
|
history:
|
|
|
|
|
|
|
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
|
config:
|
|
|
|
# Text to speech
|
|
tts:
|
|
- platform: google_translate
|
|
|
|
group: !include groups.yaml
|
|
automation: !include automations.yaml
|
|
script: !include scripts.yaml
|
|
scene: !include scenes.yaml
|
|
|
|
|
|
#weather
|
|
weather:
|
|
- platform: darksky
|
|
api_key: 19b4b95365ea88c65b085805ef046ba0
|
|
latitude: 41.469249
|
|
longitude: -81.713146
|
|
name: Amherst
|
|
sun:
|
|
|
|
hue:
|
|
bridges:
|
|
- host: 192.168.86.44
|
|
allow_unreachable: true
|
|
|
|
# sensors
|
|
sensor:
|
|
- platform: yr
|
|
# - platform: sonarr
|
|
# api_key: c544cae167164f11947c84ad4e04f61c
|
|
# host: 192.168.86.20
|
|
# monitored_conditions:
|
|
# - upcoming
|
|
# - diskspace
|
|
# days: 7
|
|
- platform: template
|
|
sensors:
|
|
thermostat_current_status:
|
|
value_template: "{{ states.climate.home.attributes.hvac_action }}"
|
|
- platform: template
|
|
sensors:
|
|
thermostat_away_mode:
|
|
value_template: "{{ states.climate.home.attributes.preset_mode }}"
|
|
- platform: template
|
|
sensors:
|
|
thermostat_climate_mode:
|
|
value_template: "{{ states.climate.home.attributes.climate_mode }}"
|
|
- platform: template
|
|
sensors:
|
|
thermostat_outside_temperature:
|
|
unit_of_measurement: "°F"
|
|
value_template: "{{ float(states.weather.home.attributes.temperature) }}"
|
|
- platform: mqtt
|
|
state_topic: "upstairstemp/sensor/temp"
|
|
name: "Upstairs Temperature"
|
|
unit_of_measurement: "°F"
|
|
- platform: mqtt
|
|
state_topic: "DansPhone/sleepinfo"
|
|
name: "sleep Info"
|
|
|
|
|