找回密码
 立即注册

微信扫码登录

搜索
查看: 105|回复: 1

[技术探讨] vivohomebridge配置问题

[复制链接]

1

主题

9

回帖

65

积分

注册会员

积分
65
金钱
55
HASS币
0
发表于 昨天 13:51 | 显示全部楼层 |阅读模式
点击“HA中控”跳出提醒

PixPin_2025-12-09_13-05-12.png

无法加载配置向导: 500 Internal Server Error Server got itself in trouble


请问是啥原因,咋解决,谢谢
回复

使用道具 举报

moxi 手机认证

0

主题

1

回帖

41

积分

新手上路

积分
41
金钱
40
HASS币
0
发表于 4 小时前 | 显示全部楼层
看一下日志是什么问题,当时我的故障是 File "/config/custom_components/vivohomebridge/config_flow.py", line 127, in __init__
    self.config_entry = config_entry
AttributeError: property 'config_entry' of 'VHomeBridgeOptionsFlowHandler' object has no setter 解决办法是 打开/config/custom_components/vivohomebridge/config_flow.py,
  删除整个 @property 的定义,变成class VHomeBridgeOptionsFlowHandler(config_entries.OptionsFlow):
    def __init__(self, config_entry):
        self.config_entry = config_entry 保存就可以了

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-12-10 19:17 , Processed in 0.079741 second(s), 10 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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