This component really needs to be integrated into the official HA branch. I don’t see any reason not to. I mean, yeah, it doesn’t have the IR codes for every a/c, but hey, HA itself is in beta right now, isn’t it?))
Hi after I have updated my climate component I cannot see in Google home actual temperature at home because I have a xiaomi sensor temperature and humidity. Why? With old component I see temperature in Google home can you help me?
Thanks again @Vassilis for a very nice job. Converted my ini file with the provided converter (I submitted it) and everything worked perfectly at first try.
As a side comment, do you also plan to update the fan component? I find it quite usefull as well to control my living room fan and I don’t know if I just have to rename the files as home assistant log suggests or wait for it to be updated like this one.
I’ve just rebooted my HA and I now have this error. Not sure what, but line 28 does look odd to me…
Error loading custom_components.smartir.climate. Make sure all dependencies are installed
Traceback (most recent call last): File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/loader.py", line 147, in _load_file module = importlib.import_module(path) File "/srv/homeassistant/lib/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 673, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "/home/homeassistant/.homeassistant/custom_components/smartir/climate.py", line 28, in <module> from . import Helper ImportError: cannot import name 'Helper'
A while ago I forked your original broadlink IR component and made a Harmony Hub version.
I am thinking about working on a PR to integrate harmony hub compatibility with this smart IR platform. Most the code additions would be in the send_command() function.
To do this seamlessly and with minimal effort for end user to configure, I’m thinking I will need to create a ini specific for harmony, then in the config the user would just need to put that ini code in device_code and for controller_send_service they can use remote.send_command.
For the ini, I am thinking it could be something like this
What do you think?
Also is there some numbering pattern with your ini filenaming?
I fixed my problem to my post above. I removed line 28 as it looks like it shouldn’t be there. I compared it to previous version on GitHub (which this line is also there).
I’ve just rebooted and I have my 2 A/C’s back and working again.