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

 找回密码
 立即注册
查看: 5294|回复: 11

[技术探讨] 0.82.0升级到最新版本,自动化报错,全部无法使用

[复制链接]

21

主题

422

帖子

2154

积分

金牌会员

Rank: 6Rank: 6

积分
2154
金钱
1732
HASS币
10
发表于 2019-1-24 22:23:08 | 显示全部楼层 |阅读模式
本帖最后由 zwbjsnt 于 2019-1-24 22:36 编辑

0.82.0升级到最新版本,自动化报错,全部无法使用,求救!
回复

使用道具 举报

21

主题

422

帖子

2154

积分

金牌会员

Rank: 6Rank: 6

积分
2154
金钱
1732
HASS币
10
 楼主| 发表于 2019-1-24 22:37:59 | 显示全部楼层
所有的自动化都不能工作,各种报错,降回0.80.0,一切正常,晕死
回复

使用道具 举报

27

主题

154

帖子

1399

积分

金牌会员

只发干货

Rank: 6Rank: 6

积分
1399
金钱
1245
HASS币
0

教程狂人论坛风云人物

发表于 2019-1-25 00:22:16 | 显示全部楼层
所有自动化文件,查找platform: time,凡是有hours、minutes、seconds的改成platform: time_pattern;凡是at具体时间的都用platform: time。打完收工!
回复

使用道具 举报

7

主题

1977

帖子

5671

积分

论坛元老

流水无味

Rank: 8Rank: 8

积分
5671
金钱
3694
HASS币
145

灌水之王

发表于 2019-1-25 07:56:20 | 显示全部楼层
holala 发表于 2019-1-25 00:22
所有自动化文件,查找platform: time,凡是有hours、minutes、seconds的改成platform: time_pattern;凡是a ...

学到一招 点赞,我版本还没升到最高
回复

使用道具 举报

8

主题

255

帖子

1223

积分

金牌会员

Rank: 6Rank: 6

积分
1223
金钱
968
HASS币
30
发表于 2019-1-25 09:34:04 | 显示全部楼层
本帖最后由 laynexx 于 2019-1-25 09:37 编辑

过两天再升吧 每次新版本感觉总要折腾1-2个小版本
Noteworthy breaking changes
This release also includes two noteworthy breaking changes. One is a follow-up on the slugify breaking change from last release. We did not update the validation check for config options that need to be valid slugs. This means that some of your config values might be invalid. Keep an eye at the console as we have a new message to tell you which ones are wrong.

This issue also impacts the entity registry, which could contain in some rare cases invalid entity IDs. Expect entity IDs to change if they contained a double underscore (which becomes 1) or if they started/ended in an underscore (which will be removed).

Another noteworthy breaking change (sorry!), is that the automation time trigger has been split into two: time and time_pattern. If you had a time trigger containing the keys hours, minutes or seconds, update the platform from time to time_pattern.


https://www.home-assistant.io/docs/automation/trigger/#time-trigger
回复

使用道具 举报

2

主题

57

帖子

357

积分

论坛积极会员

积分
357
金钱
300
HASS币
0
发表于 2019-1-25 09:37:15 | 显示全部楼层
感觉新版本有点坑啊
回复

使用道具 举报

0

主题

111

帖子

320

积分

中级会员

Rank: 3Rank: 3

积分
320
金钱
209
HASS币
0
发表于 2019-1-25 10:13:48 | 显示全部楼层
答疑解惑哦
回复

使用道具 举报

21

主题

422

帖子

2154

积分

金牌会员

Rank: 6Rank: 6

积分
2154
金钱
1732
HASS币
10
 楼主| 发表于 2019-1-25 20:19:28 | 显示全部楼层
holala 发表于 2019-1-25 00:22
所有自动化文件,查找platform: time,凡是有hours、minutes、seconds的改成platform: time_pattern;凡是a ...

谢谢,已经搞定了
回复

使用道具 举报

21

主题

422

帖子

2154

积分

金牌会员

Rank: 6Rank: 6

积分
2154
金钱
1732
HASS币
10
 楼主| 发表于 2019-1-25 20:56:54 | 显示全部楼层
本帖最后由 zwbjsnt 于 2019-1-25 21:09 编辑

已经搞定
回复

使用道具 举报

2

主题

171

帖子

2332

积分

金牌会员

Rank: 6Rank: 6

积分
2332
金钱
2161
HASS币
0
发表于 2019-1-30 13:57:25 | 显示全部楼层
解答的很明确
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-15 05:51 , Processed in 0.126128 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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