- 积分
- 535
- 金钱
- 428
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 535
- 金钱
- 428
- HASS币
- 0
|
“Platform error sensor.sun - No module named 'homeassistant.components.sun.sensor'
Integration error: cards - Integration 'cards' not found.”
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
language: 'zh-CN'
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#media_player:
# - platform: pulseaudio
# name: 耳机
# sink: alsa_output.platform-bcm2835_audio.stereo-fallback
#油价
sensor:
- platform: oilprice
name: 最新油价
region: sichuan
#月亮
sensor:
- platform: moon
- platform: sun
#日出 日落
cards:
- type: custom:sun-card
showElevation: false
showAzimuth: false
language: de
#温度
- platform: dht
sensor: DHT11
name: "室内温湿度"
pin: 4
temperature_offset: 0.8
humidity_offset: 24
monitored_conditions:
- temperature
- humidity
#MQTT
mqtt:
broker: 192.168.2.208
port: 1883
username: admin
password: mcg791124
discovery: true
discovery_prefix: homeassistant
ios:
#zhuti主题
frontend:
themes: !include_dir_merge_named themes
#侧边栏管理
ha_sidebar:
#百度地图
ha_baidu_map:
ak: dtsqUY7AzWYxEHic5LYZGZqfjseIlwYB
#网易云
media_player:
platform: ha_cloud_music
api_url: 192.168.2.100:3002
# mpd_host: MPD播放器host(如果你有的话)
|
|