scottyphillips / mitsubishi_echonet

A Python library for interfacing with Mitsubishi HVAC with Echonet lite over WiFi
MIT License
25 stars 13 forks source link

added __init__.py and manifest.json #3

Closed DickSwart closed 5 years ago

DickSwart commented 5 years ago

Due to this, you need to create empty file init.py and manifest.json in the folder custom_components/{your_platform} with custom_components. My Home Assistant stopped working in 0.92.1. I just added the minimal info. Please let me know if I can change something.

scottyphillips commented 5 years ago

Looks pretty safe, I've just merged it on my local machine to test. I'll see whether or not I should move the dependancies out of the 'climate.py' file into the JSON manifest. Got to upgrade to 0.92 first. I'll keep you posted thanks for the heads up.

scottyphillips commented 5 years ago

Seems to work fine, but I raised issue #4 as for god knows what reason dependancies STILL will not load properly by home-assistant. It's like black magic getting it to work. I work around it by directly logging into the container and using 'pip' to install the library directly.