找回密码
 立即注册

微信扫码登录

搜索
查看: 5829|回复: 11

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

[复制链接]

13

主题

125

回帖

969

积分

高级会员

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

使用道具 举报

82

主题

1482

回帖

3万

积分

元老级技术达人

积分
32525
金钱
30916
HASS币
310
发表于 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)
回复

使用道具 举报

Ari 手机认证

0

主题

700

回帖

3065

积分

论坛元老

积分
3065
金钱
2365
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 ...

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

使用道具 举报

8

主题

64

回帖

1988

积分

金牌会员

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

使用道具 举报

2

主题

216

回帖

1458

积分

金牌会员

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

使用道具 举报

31

主题

360

回帖

2760

积分

金牌会员

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

使用道具 举报

4

主题

78

回帖

1427

积分

金牌会员

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

使用道具 举报

4

主题

349

回帖

2761

积分

金牌会员

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

使用道具 举报

3

主题

119

回帖

2073

积分

金牌会员

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

使用道具 举报

35

主题

387

回帖

2802

积分

金牌会员

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

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2026-1-17 02:41 , Processed in 0.105864 second(s), 9 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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