Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant 2023.8.3 无法使用 #46

Closed
catchfishday opened this issue Aug 19, 2023 · 2 comments
Closed

Home Assistant 2023.8.3 无法使用 #46

catchfishday opened this issue Aug 19, 2023 · 2 comments

Comments

@catchfishday
Copy link

Home Assistant 2023.8.3
Supervisor 2023.08.1
前端版本: 20230802.1 - latest

stderr: [31m2023-08-19 09:42:24.515 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform colorfulclouds
stderr: Traceback (most recent call last):
stderr: File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
stderr: await asyncio.gather(*tasks)
stderr: File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 750, in _async_add_entity
stderr: await entity.add_to_platform_finish()
stderr: File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1004, in add_to_platform_finish
stderr: self.async_write_ha_state()
stderr: File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 746, in async_write_ha_state
stderr: self._async_write_ha_state()
stderr: File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 808, in _async_write_ha_state
stderr: state = self._stringify_state(available)
stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
stderr: File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 752, in _stringify_state
stderr: if (state := self.state) is None:
stderr: ^^^^^^^^^^
stderr: File "/config/custom_components/colorfulclouds/sensor.py", line 120, in state
stderr: return self.coordinator.data["result"]["realtime"][self.kind]

@catchfishday
Copy link
Author

,,,彩云天气api需要充值了

@fineemb
Copy link
Owner

fineemb commented Jun 9, 2024

更新到v2.0.0

@fineemb fineemb closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants