Comments (7)
Hi @troykelly,
Could you tell me what's inside the custom_components/meross_cloud folder? It seems that common.py file is missing
from meross-homeassistant.
common.py
(snippet)
# Constants
DOMAIN = 'meross_cloud'
MANAGER = 'manager'
ENROLLED_DEVICES = 'enrolled_devices'
MEROSS_MANAGER = "%s.%s" % (DOMAIN, MANAGER)
.
.
.
def notify_error(hass, notification_id, title, message):
hass.async_create_task(
hass.services.async_call(domain='persistent_notification', service='create', service_data={
'title': title,
'message': message,
'notification_id': "%s.%s" % (DOMAIN, notification_id)})
)
from meross-homeassistant.
Ok. I did not have enough time to prepare a release on GitHub and by cloning the repository you pulled down more stuff than you need. This might be interfering with homeassistant.
Could you please remove the following files from the meross_cloud folder and reboot hassio?
.git
_pycache__
.gitignore
README.md
from meross-homeassistant.
I've never seen extra files causing an issue, __pycache__
perhaps might be an exception.
I've removed the files - still having the same issue.
core-ssh:/config/custom_components/meross_cloud# ls -al
total 44
drwxr-xr-x 3 root root 4096 Jun 14 18:15 .
drwxr-xr-x 8 root root 4096 Jun 14 10:31 ..
-rw-r--r-- 1 root root 6448 Jun 14 10:31 __init__.py
-rw-r--r-- 1 root root 1203 Jun 14 10:31 common.py
-rw-r--r-- 1 root root 3185 Jun 14 10:31 cover.py
drwxr-xr-x 2 root root 4096 Jun 14 10:31 extra
-rw-r--r-- 1 root root 3475 Jun 14 10:31 light.py
-rw-r--r-- 1 root root 239 Jun 14 10:31 manifest.json
-rw-r--r-- 1 root root 3073 Jun 14 10:31 sensor.py
-rw-r--r-- 1 root root 2548 Jun 14 10:31 switch.py
core-ssh:/config/custom_components/meross_cloud# hassio ha restart &
[1] 152
core-ssh:/config/custom_components/meross_cloud# tail -f /config/home-assistant.log | grep -i meross
2019-06-14 18:16:09 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for meross_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-06-14 18:16:10 DEBUG (MainThread) [homeassistant.bootstrap] Setting up {'conversation', 'tuya', 'twilio', 'websocket_api', 'history', 'media_player', 'config', 'person', 'mqtt', 'sun', 'input_boolean', 'switch', 'hue', 'cloud', 'media_extractor', 'lifx', 'logbook', 'hassio', 'group', 'http', 'zeroconf', 'stream', 'sensor', 'googlehome', 'system_health', 'climate', 'device_tracker', 'zone', 'updater', 'openuv', 'input_number', 'esphome', 'panel_custom', 'google', 'automation', 'tts', 'shell_command', 'discovery', 'auth', 'scene', 'lovelace', 'frontend', 'google_assistant', 'binary_sensor', 'onboarding', 'influxdb', 'light', 'api', 'lametric', 'meross_cloud', 'weather', 'vera', 'unifi', 'notify', 'map', 'custom_updater', 'script', 'webhook', 'rest_command', 'cover', 'lock', 'input_select', 'cast'}
2019-06-14 18:16:12 ERROR (MainThread) [homeassistant.config] Unable to import meross_cloud: No module named 'common'
2019-06-14 18:16:12 ERROR (MainThread) [homeassistant.setup] Setup failed for meross_cloud: Invalid config.
from meross-homeassistant.
Ok, I will look at it as soon as I get home. Keep in touch!
from meross-homeassistant.
Alright, there were some bad imports to be refactored. Unfortunately on my debug environment they were working as expected (different paths). Could you please pull the latest version and try again?
from meross-homeassistant.
Closing since the ticket opener confirmed it's now working as expected.
from meross-homeassistant.
Related Issues (20)
- 2024.1 - Deprication of SUPPORT_*** HOT 3
- Sensor logger verbosity HOT 2
- Setup failed for custom integration 'meross_cloud': Requirements for meross_cloud not found: ['meross_iot==0.4.6.0rc2']. HOT 1
- Internal LED control HOT 2
- mrs100 HOT 33
- Deprecation of HVAC_MODE_COOL --> Use HVACMode.COOL instead HOT 2
- Meross Cloud Credentials saved in plain text HOT 5
- Unable to install package meross_iot==0.4.6.1 HOT 4
- problem with the latest update HOT 6
- Problemas con actualización v1.2.13 HOT 2
- Cloud-connected entities become unavailable in the integration HOT 4
- Failure to add device, fixed by hack to regexp HOT 5
- Validation of translation placeholders for localized (it) string component.meross_lan.issues.cloud_token_expired.fix_flow.step.profile.description failed HOT 1
- "Closing" and "Opening" state feedback HOT 6
- Incorrect colour on light strip
- Crypto package not found HOT 3
- BUG: Duplicate "do_not_disturb" entities HOT 2
- Deprecated alias in use HomeAssistantType HOT 2
- Unable to set colour via Scene or Automation
- cover.toggle on an open garage goes to transient state opening, requiring me to toggle a 2nd time to actually close HOT 2
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 meross-homeassistant.