n71154plus / Hitachi_smart_app

MIT License
46 stars 16 forks source link

HA Error #11

Open tiqit2 opened 2 years ago

tiqit2 commented 2 years ago

Show the error , Please help "此整合目前不支援透過 UI 進行設定。假如您是透過 Home Assistant 網站點選此連結、請確定您已經執行最新版本的 Home Assistant。"

singi521 commented 2 years ago

開啟Code Editor 編輯 custom_components/Hitachi_smart_app/smarthome/init.py 6行

from homeassistant.const import HTTP_OK 前面加入一個

692行 if response.status == HTTP_OK 改成 if response.status == 200

就可以設定 shot 2022-06-26 下午10 56 06 shot 2022-06-26 下午10 56 22

tiqit2 commented 2 years ago

可以設定了,但設定後沒出現實體等項目,如下圖

截圖 2022-06-27 下午12 16 47
singi521 commented 2 years ago

API 回應無資料,因此無實體。我現在改用 https://github.com/qqaatw/JciHitachiHA