- 积分
- 662
- 金钱
- 403
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 662
- 金钱
- 403
- HASS币
- 0
|
楼主 |
发表于 2019-5-15 10:54:44
|
显示全部楼层
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: xx.803889
longitude: 123.382778
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 11
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Asia/shanghai
# Customization file
customize: !include customize.yaml
frontend:
javascript_version: auto
extra_html_url: /local/lovelace.html
lovelace:
sun:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Discover some devices automatically
discovery:
# Sensors
# Text to speech
tts:
- platform: google_translate
#———————————#
# Yeelight #
#———————————#
light:
- platform: yeelight
devices:
10.10.10.128:
name: lamp
transition: 1000
use_music_mode: true
save_on_change: true
switch:
- platform: xiaomi_miio
name: zimi1
host: 10.10.10.115
token: 1122b746e655c3956d89b525e
- platform: xiaomi_miio
name: zimi2
host: 10.10.10.116
token: qwqc54a567bcf66460054342
model: zimi.powerstrip.v2
#xiaomi_cooker:
#name: Xiaomi Rice Cooker
#host: 10.10.10.107
#token: fghfgh38c6076a6a052b3e5cf
#model: chungmi.cooker.normal2
dyson:
username: [email protected]
password: 11113
language: zh-CN
devices:
- device_id: 111-xx1-HJA2933A
- device_ip: 10.10.10.121
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml |
|