Appdaemon, hass_apps, set_operation_mode

Hi All,

 I am trying to figure out where my problem lies. 

Config:
Home Assistant - 0.83.3 (docker container)
OS: Unraid server
heating controller - using this working but unfinished RJ heatmiser neohub library
heating automations - appdaemon (docker container) loaded hass_apps and using schedy to schedule my heating

Its working… kinda… I have only had it running for a few days but just seems a bit flakey. For instance if its meant to turn on 4 thermostats it will turn on 3 and things like that.

My log is full of errors like this

2018-12-08 06:50:56 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.22519324481576] Sending {‘id’: 76, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘service_executed’, ‘data’: {‘service_call_id’: ‘57bef431c6f441268d3fb8a28c14ee6b’}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2018, 12,
8, 6, 50, 56, 741014, tzinfo=), ‘context’: {‘id’: ‘95b0895b779a4fc7aa7f25954c40abae’, ‘user_id’: ‘cb8a0d4bbb7d4c23a16bf15c0e8b7580’}}}
2018-12-08 06:50:56 INFO (MainThread) [homeassistant.components.http.view] Serving /api/services/climate/set_temperature to 172.17.0.4 (auth: True)
2018-12-08 06:50:56 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.22519324481576] Sending {‘id’: 76, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘call_service’, ‘data’: {‘domain’: ‘climate’, ‘service’: ‘set_temperature’, ‘service_data’: {‘entity_id’: ‘climate.vestibule’, ‘temperature’: 7.0}
, ‘service_call_id’: ‘4a0aa1cfaeaf404999f1732cc9b388a7’}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2018, 12, 8, 6, 50, 56, 762997, tzinfo=), ‘context’: {‘id’: ‘198b2f33a80d4cdeae3985e2536d63bf’, ‘user_id’: ‘cb8a0d4bbb7d4c23a16bf15c0e8b7580’}}}
2018-12-08 06:50:57 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.22519324481576] Sending {‘id’: 76, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘state_changed’, ‘data’: {‘entity_id’: ‘climate.vestibule’, ‘old_state’: <state climate.vestibule=idle; current_temperature=12.9, min_temp=7, max_
temp=35, temperature=7.0, target_temp_high=None, target_temp_low=None, operation_mode=idle, away_mode=off, friendly_name=Vestibule, supported_features=1159 @ 2018-12-08T06:50:35.672277+00:00>, ‘new_state’: <state climate.vestibule=idle; current_temperature=12.8, min_temp=7, max_temp=35, temperature=7.0, target_temp_
high=None, target_temp_low=None, operation_mode=idle, away_mode=off, friendly_name=Vestibule, supported_features=1159 @ 2018-12-08T06:50:35.672277+00:00>}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2018, 12, 8, 6, 50, 57, 254499, tzinfo=), ‘context’: {‘id’: ‘198b2f33a80d4cdeae3985e2536d63bf’, ‘user_id’
: ‘cb8a0d4bbb7d4c23a16bf15c0e8b7580’}}}
2018-12-08 06:50:57 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.22519324481576] Sending {‘id’: 76, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘service_executed’, ‘data’: {‘service_call_id’: ‘4a0aa1cfaeaf404999f1732cc9b388a7’}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2018, 12,
8, 6, 50, 57, 259164, tzinfo=), ‘context’: {‘id’: ‘198b2f33a80d4cdeae3985e2536d63bf’, ‘user_id’: ‘cb8a0d4bbb7d4c23a16bf15c0e8b7580’}}}
2018-12-08 06:50:57 INFO (MainThread) [homeassistant.components.http.view] Serving /api/services/climate/set_operation_mode to 172.17.0.4 (auth: True)
2018-12-08 06:50:57 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.22519324481576] Sending {‘id’: 76, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘call_service’, ‘data’: {‘domain’: ‘climate’, ‘service’: ‘set_operation_mode’, ‘service_data’: {‘entity_id’: ‘climate.kitchen’, ‘operation_mode’:
‘heat’}, ‘service_call_id’: ‘add17d9ad909473e8902d91335cc5865’}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2018, 12, 8, 6, 50, 57, 286747, tzinfo=), ‘context’: {‘id’: ‘14965516c49c48ad8accf851b948b1ec’, ‘user_id’: ‘cb8a0d4bbb7d4c23a16bf15c0e8b7580’}}}
2018-12-08 06:50:57 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/service.py”, line 277, in _handle_service_platform_call
await getattr(entity, func)(**data)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/climate/init.py”, line 418, in set_operation_mode
raise NotImplementedError()
NotImplementedError

Now from googling folks say use set_temperature not set_operation_mode and I am guessing this is hass_apps shedy that is making this call. Is it possible to tell shedy to do this and no set_operation_mode or would I be better forking the heatmiser repo and trying to implement set_operation_mode? I don’t know python at all but I am not afraid to learn.

Hopefully looking for someone to point me in the right direction

Thanks