Comments (3)
日志补充:
此错误来自自定义集成。
Logger: homeassistant.loader
Source: custom_components/haier/core/attribute.py:31
Integration: Haier (documentation, issues)
First occurred: 22:37:39 (1 occurrences)
Last logged: 22:37:39
Unexpected exception importing platform custom_components.haier.config_flow
Traceback (most recent call last):
File "/Users/homeserver/Documents/HomeAssistant/lib/python3.9/site-packages/homeassistant/loader.py", line 744, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/Users/homeserver/Documents/HomeAssistant/lib/python3.9/site-packages/homeassistant/loader.py", line 761, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/homeserver/.homeassistant/custom_components/haier/init.py", line 12, in
from .coordinator import DeviceCoordinator
File "/Users/homeserver/.homeassistant/custom_components/haier/coordinator.py", line 8, in
from .core.device import HaierDevice
File "/Users/homeserver/.homeassistant/custom_components/haier/core/device.py", line 5, in
from .attribute import HaierAttribute, V1SpecAttributeParser
File "/Users/homeserver/.homeassistant/custom_components/haier/core/attribute.py", line 9, in
class HaierAttribute:
File "/Users/homeserver/.homeassistant/custom_components/haier/core/attribute.py", line 31, in HaierAttribute
def unit(self) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
from haier.
我本地没有复现,调整了一下代码,重新拉一下代码试试
from haier.
重新部署了python3.11和ha2023.7.2的core,已可以登陆
from haier.
Related Issues (20)
- climate卡片部分机型无法开机,风管机通过climate卡片无法正常开机,挂机正常 HOT 10
- 洗衣机/洗护设备“提示信息”“洗涤阶段”传感器不可用 HOT 3
- 所有设备只有 sensor 和 binary sensor HOT 4
- 不能识别海尔燃气热水器 HOT 1
- 在hass中配置,集成中没有haier,只有haier hon HOT 4
- 海尔立式空调无法接入 型号:KFR-72L/GCB81U1室内机总成 HOT 6
- 卡萨帝冰箱温度传感器原始数据比实际数据大38 HOT 4
- 海尔燃气热水器能否改成climate类型的? HOT 2
- 海尔洗衣机 Warning-attribute airWashPara36 not found in the coordinator HOT 1
- 海尔空调无法控制 HOT 6
- 海尔JSQ31-16KN5致远U1燃气热水器接入后只有传感器,无开关 HOT 1
- 海尔空调的Climate (Beta)模块的疑问 HOT 8
- 设置零冷水状态优化 HOT 2
- 卡萨帝空调添加后无climate实体 HOT 3
- 海尔电热水器EC6002-D6(U1)没接入成功 HOT 2
- 提交一个冰箱小bug HOT 3
- 空调显示当前温度及设置温度异常 HOT 11
- 认证失败 HOT 3
- 账户认证失败 HOT 1
- 卡萨帝冰箱和洗衣机无法接入 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haier.