找回密码
 立即注册

微信扫码登录

搜索
查看: 3594|回复: 11

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

[复制链接]

13

主题

119

回帖

907

积分

高级会员

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

使用道具 举报

80

主题

1396

回帖

2万

积分

元老级技术达人

积分
28887
金钱
27371
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)
回复

使用道具 举报

Ari 手机认证

0

主题

674

回帖

2873

积分

金牌会员

积分
2873
金钱
2199
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

回帖

1960

积分

金牌会员

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

使用道具 举报

1

主题

206

回帖

1400

积分

金牌会员

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

使用道具 举报

31

主题

359

回帖

2756

积分

金牌会员

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

使用道具 举报

4

主题

76

回帖

1273

积分

金牌会员

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

使用道具 举报

4

主题

345

回帖

2649

积分

金牌会员

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

使用道具 举报

3

主题

112

回帖

1967

积分

金牌会员

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

使用道具 举报

35

主题

383

回帖

2708

积分

金牌会员

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-7-8 02:16 , Processed in 1.292991 second(s), 10 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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