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

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

[技术探讨] 升级6.0后的问题

[复制链接]

13

主题

116

帖子

699

积分

高级会员

Rank: 4

积分
699
金钱
578
HASS币
20
发表于 2023-6-8 15:31:34 | 显示全部楼层 |阅读模式
1.png
升级6.0后command line生成传感器的配置文件变了,请问integration key是哪里,新版的配置文件应该放在那儿?
回复

使用道具 举报

76

主题

1357

帖子

1万

积分

元老级技术达人

积分
18307
金钱
16910
HASS币
290
发表于 2023-6-8 16:47:18 | 显示全部楼层
The Command Line integration changes its YAML configuration format from an old-style platform configuration to a more modern integration-style configuration format.

For example, if you have a binary sensor configured previously as:
# Example configuration.yaml entry
binary_sensor:
  - platform: command_line
    command: "cat /proc/sys/net/ipv4/ip_forward"


That same binary sensor is now configured under the command_line integration configuration as:

# Example configuration.yaml entry
# Example configuration.yaml entry
command_line:
  - binary_sensor:
      command: "cat /proc/sys/net/ipv4/ip_forward"


Note: While this is currently not yet a breaking change, it did raise questions during our beta testing period. Hence we have added this as a breaking change to provide more context.

(@gjohansson-ST - #92824) (documentation)
回复

使用道具 举报

0

主题

561

帖子

2179

积分

金牌会员

Rank: 6Rank: 6

积分
2179
金钱
1618
HASS币
0
发表于 2023-6-8 18:19:16 | 显示全部楼层
dscao 发表于 2023-6-8 16:47
The Command Line integration changes its YAML configuration format from an old-style platform config ...

奔溃,要改太多东西了
回复

使用道具 举报

7

主题

67

帖子

1780

积分

金牌会员

Rank: 6Rank: 6

积分
1780
金钱
1713
HASS币
0
发表于 2023-6-9 06:08:56 来自手机 | 显示全部楼层
解决了吗
回复

使用道具 举报

1

主题

173

帖子

1112

积分

金牌会员

Rank: 6Rank: 6

积分
1112
金钱
939
HASS币
0
发表于 2023-6-9 08:50:22 | 显示全部楼层
升级6.0 后,空调面板卡片翻译有问题了。
Snipaste_2023-06-09_08-47-55.png
回复

使用道具 举报

28

主题

360

帖子

2009

积分

金牌会员

Rank: 6Rank: 6

积分
2009
金钱
1649
HASS币
0
发表于 2023-6-9 09:05:26 | 显示全部楼层
谁不是更新之后死一片
回复

使用道具 举报

4

主题

69

帖子

835

积分

高级会员

Rank: 4

积分
835
金钱
766
HASS币
0
发表于 2023-6-9 14:48:40 | 显示全部楼层
怕了,缓缓在更新
回复

使用道具 举报

3

主题

280

帖子

2146

积分

金牌会员

Rank: 6Rank: 6

积分
2146
金钱
1866
HASS币
0
发表于 2023-6-9 16:47:59 | 显示全部楼层
它这英文提示有误导,说是 move。。。。应该说成 change 更好
回复

使用道具 举报

3

主题

111

帖子

1499

积分

金牌会员

Rank: 6Rank: 6

积分
1499
金钱
1388
HASS币
0
发表于 2023-6-9 17:45:54 | 显示全部楼层
升级到6以后,MQTT无法加载了,你们的是这样吗?是怎么处理的呀。
回复

使用道具 举报

35

主题

371

帖子

2247

积分

金牌会员

Rank: 6Rank: 6

积分
2247
金钱
1876
HASS币
10
发表于 2023-6-9 18:53:19 | 显示全部楼层
ZHA崩了……
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-26 03:54 , Processed in 0.128610 second(s), 34 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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