『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: trz0332

[插件集成] 咸鱼捡垃圾(其二)wifi插座-官方插件已支持,此帖删

  [复制链接]

0

主题

3

帖子

32

积分

新手上路

Rank: 1

积分
32
金钱
29
HASS币
0
发表于 2023-1-3 12:23:04 来自手机 | 显示全部楼层
看看怎么样。
回复

使用道具 举报

0

主题

26

帖子

91

积分

注册会员

Rank: 2

积分
91
金钱
65
HASS币
0
发表于 2023-1-3 13:35:39 | 显示全部楼层
感谢分享
回复

使用道具 举报

0

主题

11

帖子

93

积分

注册会员

Rank: 2

积分
93
金钱
82
HASS币
0
发表于 2023-1-3 16:55:18 | 显示全部楼层
高手,回来回帖看看
回复

使用道具 举报

9

主题

179

帖子

1405

积分

金牌会员

Rank: 6Rank: 6

积分
1405
金钱
1226
HASS币
0
发表于 2023-1-8 00:52:47 | 显示全部楼层
一直报错是怎么回事
2023-01-08 00:50:33.423 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing mobileL6/diagnostics.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 40, in _async_process_single_integration_platform_component
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 744, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 761, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.mobilel6.diagnostics'
2023-01-08 00:50:33.428 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing mobileL6/recorder.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 40, in _async_process_single_integration_platform_component
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 744, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 761, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.mobilel6.recorder'
2023-01-08 00:50:33.429 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing mobileL6/system_health.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 40, in _async_process_single_integration_platform_component
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 744, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 761, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.mobilel6.system_health'
2023-01-08 00:50:33.431 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing mobileL6/media_source.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 40, in _async_process_single_integration_platform_component
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 744, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 761, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.mobilel6.media_source'
2023-01-08 00:50:33.432 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing mobileL6/logbook.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 40, in _async_process_single_integration_platform_component
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 744, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 761, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.mobilel6.logbook'
回复

使用道具 举报

38

主题

405

帖子

4324

积分

元老级技术达人

积分
4324
金钱
3864
HASS币
250
 楼主| 发表于 2023-1-8 13:33:54 | 显示全部楼层
astang 发表于 2023-1-8 00:52
一直报错是怎么回事
2023-01-08 00:50:33.423 ERROR (MainThread) [homeassistant.helpers.integration_pla ...

你的hass版本是不是太低了?
回复

使用道具 举报

9

主题

179

帖子

1405

积分

金牌会员

Rank: 6Rank: 6

积分
1405
金钱
1226
HASS币
0
发表于 2023-1-8 15:25:09 | 显示全部楼层
trz0332 发表于 2023-1-8 13:33
你的hass版本是不是太低了?

最新的啊
Home Assistant 2023.1.1
Supervisor 2022.12.1
Operating System 9.4
前端版本: 20230104.0 - latest
回复

使用道具 举报

0

主题

31

帖子

220

积分

中级会员

Rank: 3Rank: 3

积分
220
金钱
189
HASS币
0
发表于 2023-1-9 08:39:07 | 显示全部楼层
很好很强大
回复

使用道具 举报

38

主题

405

帖子

4324

积分

元老级技术达人

积分
4324
金钱
3864
HASS币
250
 楼主| 发表于 2023-1-9 12:32:33 | 显示全部楼层
astang 发表于 2023-1-8 15:25
最新的啊
Home Assistant 2023.1.1
Supervisor 2022.12.1

我用的是Home Assistant 2022.11.3
前端版本: 20221108.0 - latest
是没问题的。另外我在我的代码里面没有看到.logbook这个模块,你确定你的这个文件是完全从压缩包里面解压出来的嘛?
回复

使用道具 举报

9

主题

179

帖子

1405

积分

金牌会员

Rank: 6Rank: 6

积分
1405
金钱
1226
HASS币
0
发表于 2023-1-9 14:09:49 | 显示全部楼层
trz0332 发表于 2023-1-9 12:32
我用的是Home Assistant 2022.11.3
前端版本: 20221108.0 - latest
是没问题的。另外我在我的代码里面没 ...

是的啊,我下班回去重新下载解压再试试。有可能是更新ha的问题吧,2023.1.0的时候没印象有这个报错
回复

使用道具 举报

9

主题

179

帖子

1405

积分

金牌会员

Rank: 6Rank: 6

积分
1405
金钱
1226
HASS币
0
发表于 2023-1-9 19:18:39 | 显示全部楼层
trz0332 发表于 2023-1-9 12:32
我用的是Home Assistant 2022.11.3
前端版本: 20221108.0 - latest
是没问题的。另外我在我的代码里面没 ...

我重新下载解压替换以后还是报错,但是目前使用倒是没见到有什么问题,开关还都能控制
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 02:46 , Processed in 0.226134 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表