『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 8850|回复: 12

[求助] 小白求助解决home-assistant错误

[复制链接]

1

主题

13

帖子

51

积分

注册会员

Rank: 2

积分
51
金钱
38
HASS币
0
发表于 2019-5-11 16:53:21 | 显示全部楼层 |阅读模式
2019-05-11 08:31:13 ERROR (MainThread) [homeassistant.components.hassio] Integration not found: forecast
Integration not found: name
Integration not found: introduction
Integration not found: monitored_conditions

HA的信息里面一直提及这个错误,修改configuration.yaml还是有错误,不知怎么处理,请大大帮忙出手!

回复

使用道具 举报

23

主题

1335

帖子

6589

积分

超级版主

Rank: 8Rank: 8

积分
6589
金钱
5229
HASS币
100

教程狂人

发表于 2019-5-11 16:55:57 | 显示全部楼层
应该是吧configuration.yaml里面的forecast删除掉就行了,还是不行请贴一下配置
回复

使用道具 举报

1

主题

13

帖子

51

积分

注册会员

Rank: 2

积分
51
金钱
38
HASS币
0
 楼主| 发表于 2019-5-11 17:38:09 | 显示全部楼层
natic 发表于 2019-5-11 16:55
应该是吧configuration.yaml里面的forecast删除掉就行了,还是不行请贴一下配置

感谢回复!还是不行
homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 23.0821
  longitude: 113.2710
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 100
  # 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

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Weather prediction
sensor:
- platform: yr
name: Weather

monitored_conditions:
- symbol
- temperature #气温
- precipitation #雨量
- windSpeed #风速
- pressure #气压
- windDirection #风向
- humidity #湿度


# Text to speech
tts:
  - platform: google_translate
    service_name: google_say

# Cloud
cloud:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
回复

使用道具 举报

23

主题

1335

帖子

6589

积分

超级版主

Rank: 8Rank: 8

积分
6589
金钱
5229
HASS币
100

教程狂人

发表于 2019-5-11 17:52:05 | 显示全部楼层
himrleo 发表于 2019-5-11 17:38
感谢回复!还是不行
homeassistant:
  # Name of the location where Home Assistant is running

格式错了,请严格按照yaml格式进行缩进
回复

使用道具 举报

74

主题

1961

帖子

7987

积分

元老级技术达人

积分
7987
金钱
5976
HASS币
430

活跃会员教程狂人

发表于 2019-5-11 18:25:02 | 显示全部楼层
# Weather prediction
sensor:
- platform: yr
name: Weather


接楼上大佬,至少这个地方缩进不对。
所有过往,皆为序章。
回复

使用道具 举报

1

主题

13

帖子

51

积分

注册会员

Rank: 2

积分
51
金钱
38
HASS币
0
 楼主| 发表于 2019-5-11 22:07:40 | 显示全部楼层
natic 发表于 2019-5-11 17:52
格式错了,请严格按照yaml格式进行缩进

好的,谢谢大佬!!!
回复

使用道具 举报

1

主题

13

帖子

51

积分

注册会员

Rank: 2

积分
51
金钱
38
HASS币
0
 楼主| 发表于 2019-5-11 22:08:50 | 显示全部楼层
咸味土豆 发表于 2019-5-11 18:25
[code]# Weather prediction
sensor:
- platform: yr

了解,谢谢大佬!!!
回复

使用道具 举报

1

主题

13

帖子

51

积分

注册会员

Rank: 2

积分
51
金钱
38
HASS币
0
 楼主| 发表于 2019-5-11 22:24:39 | 显示全部楼层
natic 发表于 2019-5-11 17:52
格式错了,请严格按照yaml格式进行缩进

另外大佬,一直有这个错误显示,请问是哪里的问题?求教
2019-05-11 14:19:22 ERROR (MainThread) [homeassistant.components.hassio] Integration not found: introduction
回复

使用道具 举报

1

主题

13

帖子

51

积分

注册会员

Rank: 2

积分
51
金钱
38
HASS币
0
 楼主| 发表于 2019-5-11 22:29:43 | 显示全部楼层
咸味土豆 发表于 2019-5-11 18:25
[code]# Weather prediction
sensor:
- platform: yr

另外大佬,一直有这个错误显示,请问是哪里的问题?求教 2019-05-11 14:19:22 ERROR (MainThread) [homeassistant.components.hassio] Integration not found: introduction
回复

使用道具 举报

74

主题

1961

帖子

7987

积分

元老级技术达人

积分
7987
金钱
5976
HASS币
430

活跃会员教程狂人

发表于 2019-5-11 22:31:54 | 显示全部楼层
himrleo 发表于 2019-5-11 22:29
另外大佬,一直有这个错误显示,请问是哪里的问题?求教 2019-05-11 14:19:22 ERROR (MainThread) [homea ...

把configuration.yaml里面有一个introduction注释掉就行了。那个官方已经弃用了。
所有过往,皆为序章。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-19 17:04 , Processed in 0.134064 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表