Progress has been made! I received my new leads and tried the Wemos D1 devices with no success…very disappointing! So I thought it best to retry the ESP01 devices now that I had the new leads. Flashed them successfully using Arduino IDE, made up the leads to suit, checked all wiring, fitted to the AC and success! VERY Happy! Next step was to try integrate with HA.
All went smoothly and the unit is controllable via the Thermostat Control.
I have a ‘however’ though. It seems something is amiss (even though it is working?) as I have errors telling me:
2019-04-12 03:51:21 WARNING (MainThread) [homeassistant.helpers.service] Not passing an entity ID to a service to target all entities is deprecated. Update your call to climate.turn_on to be instead: entity_id: all
2019-04-12 03:51:21 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139656101561456]
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 122, in handle_call_service
connection.context(msg))
File "/usr/src/app/homeassistant/core.py", line 1138, in async_call
self._execute_service(handler, service_call))
File "/usr/src/app/homeassistant/core.py", line 1160, in _execute_service
await handler.func(service_call)
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 188, in handle_service
self._platforms.values(), func, call, service_name
File "/usr/src/app/homeassistant/helpers/service.py", line 314, in entity_service_call
future.result() # pop exception if have
File "/usr/src/app/homeassistant/helpers/service.py", line 328, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/climate/__init__.py", line 485, in turn_on
raise NotImplementedError()
NotImplementedError
2019-04-12 03:54:16 INFO (MainThread) [homeassistant.loader] Loaded hassio from homeassistant.components.hassio
2019-04-12 03:58:33 WARNING (MainThread) [homeassistant.helpers.service] Not passing an entity ID to a service to target all entities is deprecated. Update your call to climate.turn_on to be instead: entity_id: all
2019-04-12 03:58:33 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139656101561456]
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 122, in handle_call_service
connection.context(msg))
File "/usr/src/app/homeassistant/core.py", line 1138, in async_call
self._execute_service(handler, service_call))
File "/usr/src/app/homeassistant/core.py", line 1160, in _execute_service
await handler.func(service_call)
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 188, in handle_service
self._platforms.values(), func, call, service_name
File "/usr/src/app/homeassistant/helpers/service.py", line 314, in entity_service_call
future.result() # pop exception if have
File "/usr/src/app/homeassistant/helpers/service.py", line 328, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/climate/__init__.py", line 485, in turn_on
raise NotImplementedError()
NotImplementedError
Any ideas whats going wrong there? I noticed in the my new /custom_components/mitsubishi_mqtt/ folder there is now another folder /pycache/ and inside is the file ‘climate.cpython-37’
I’m a little lost where to look to diagnose further but I will read the error further for some clues.
Cheers all!
Update I read here and here but it seems to me the way it is setup now is correct? The errors seem to be saying not though?
Update 2 I realised that there was a problem with how I intrepreted the new way custom components should be setup.
So after setting it all up as described here
And in particular:
And now after completing that task using the files from here , I have errors somewhat reduced to:
2019-04-12 13:11:22 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity.py”, line 215, in async_update_ha_state
“No entity id specified for entity {}”.format(self.name))
homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Rumpus AC
Plus:
2019-04-12 13:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139820874127792]
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 122, in handle_call_service
connection.context(msg))
File "/usr/src/app/homeassistant/core.py", line 1138, in async_call
self._execute_service(handler, service_call))
File "/usr/src/app/homeassistant/core.py", line 1160, in _execute_service
await handler.func(service_call)
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 188, in handle_service
self._platforms.values(), func, call, service_name
File "/usr/src/app/homeassistant/helpers/service.py", line 314, in entity_service_call
future.result() # pop exception if have
File "/usr/src/app/homeassistant/helpers/service.py", line 328, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/climate/__init__.py", line 485, in turn_on
raise NotImplementedError()
NotImplementedError
I’ll leave it here for now…The Component is actually working for now anyway.
PS there is also these two new entries now:
11:14 PM components/climate/__init__.py (ERROR)
Not passing an entity ID to a service to target all entities is deprecated. Update your call to climate.turn_on to be instead: entity_id: all
11:14 PM helpers/service.py (WARNING)