Skip to content
New issue

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

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

Already on GitHub? # to your account

bj352.waterpuri.s100cm Unavailable #2100

Closed
IDhiding opened this issue Dec 18, 2024 · 2 comments
Closed

bj352.waterpuri.s100cm Unavailable #2100

IDhiding opened this issue Dec 18, 2024 · 2 comments
Labels
bug Something isn't working fixed bug fixed

Comments

@IDhiding
Copy link

IDhiding commented Dec 18, 2024

Device model / 设备型号

bj352.waterpuri.s100cm

Component version / 插件版本

master branch

HA core version / HA版本

2024.12.4

Integrated mode / 集成方式

Local (本地模式)

The problem / 问题详情

Unavailable

Entity attributes / 实体属性

No entity

Home Assistant Logs / 系统日志

Logger: homeassistant.config_entries
Source: config_entries.py:640
First occurred: 22:09:24 (1 occurrences)
Last logged: 22:09:24

Error setting up entry waterpuri for xiaomi_miot
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/init.py", line 246, in async_setup_entry
device = await entry.new_device(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/hass_entry.py", line 96, in new_device
await device.async_init()
File "/config/custom_components/xiaomi_miot/core/device.py", line 181, in async_init
spec = await self.get_spec()
^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/device.py", line 315, in get_spec
self.init_converters()
~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/xiaomi_miot/core/device.py", line 440, in init_converters
self.add_converter(conv)
~~~~~~~~~~~~~~~~~~^^^^^^
File "/config/custom_components/xiaomi_miot/core/device.py", line 342, in add_converter
self.log.info('Converter for %s already exists. Ignored.', c.full_name)
^
NameError: name 'c' is not defined

al-one added a commit that referenced this issue Dec 18, 2024
@al-one
Copy link
Owner

al-one commented Dec 18, 2024

Thanks, fixed.

@al-one al-one added bug Something isn't working fixed bug fixed labels Dec 18, 2024
@IDhiding
Copy link
Author

solved, thanks.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working fixed bug fixed
Projects
None yet
Development

No branches or pull requests

2 participants