升级到2022.4.0之后发现localtuya无法运行参照GitHub的临时解决方法在
custom_components/localtuya/const.py第49行中做出如下更改
# Platforms in this list must support config flows
PLATFORMS = ["binary_sensor", "cover", "fan", "light", "sensor", "switch"]
改为
# Platforms in this list must support config flows
PLATFORMS = ["binary_sensor", "cover", "light", "sensor", "switch"]
会导致fan组件无法使用
|