找回密码
 立即注册

微信扫码登录

搜索
查看: 7821|回复: 24

[经验分享] ha升级2024.1后xiaomi gataway3插件报错的临时解决方法

[复制链接]

4

主题

73

回帖

756

积分

高级会员

积分
756
金钱
674
HASS币
0
发表于 2024-1-4 20:59:19 | 显示全部楼层 |阅读模式
搬运github的回复
1.ssh到ha中,进入homeassistant目录,即configuration.yaml的所在目录
cd homeassistant
2.拉取pr测试是否报错
curl https://patch-diff.githubusercontent.com/raw/AlexxIT/XiaomiGateway3/pull/1246.patch | git apply --check -v
3.若第二部校验没有抛出错误,执行下述命令应用patch
curl https://patch-diff.githubusercontent.com/raw/AlexxIT/XiaomiGateway3/pull/1246.patch | git apply
4.重启ha,应用更改

评分

参与人数 2金钱 +18 收起 理由
firewater + 10 论坛有你更精彩!
nuknoop + 8 感谢楼主分享!

查看全部评分

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-10-13 03:14 , Processed in 0.050324 second(s), 13 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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