本帖最后由 aprils 于 2021-4-23 08:35 编辑
还是没行。。报错日志如下 我这还有救么 HA v2021.4.6
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures">2021-04-23 08:31:07 ERROR (MainThread) [homeassistant.components.gree.bridge] Unexpected error fetching gree-格力空调 data: 'pack'</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures">Traceback (most recent call last):</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"> File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 173, in _async_refresh</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"> self.data = await self._async_update_data()</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"> File "/usr/src/homeassistant/homeassistant/components/gree/bridge.py", line 38, in _async_update_data</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"> await self.device.update_state()</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"> File "/usr/local/lib/python3.8/site-packages/greeclimate/device.py", line 216, in update_state</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"> self._properties = await network.request_state(</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"> File "/usr/local/lib/python3.8/site-packages/greeclimate/network.py", line 359, in request_state</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"> cols = r["pack"]["cols"]</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures">KeyError: 'pack'</span></p><div><span style="font-variant-ligatures: no-common-ligatures">
</span></div>
|