Closed sverrevh closed 4 years ago
Has to be fixed in the tradfri plugin
I think this problem is related to #81. The promise block of the function has no done() block.
Did you check the latest release? I think the error should be gone.
Is the problem solved?
@sverrevh Is this issue solved with the latest release of pimatic-hap
?
Don't know, only using Homekit for Tradfri via Tradfri bridge now.
Ok, so I close this issue for now.
I'm getting the following error when pressing a switch in homekit on my iPhone:
This is the new TradfriPlug device from the pimatic-tradfri plugin. The device is recognised by pimatic-hap and added as a switch. However the above error occurs when pressing the switch in homekit. Pimatic is not crashing, and everything seems to be working. Only this strange error.
Any idea on how to fix?
See also: https://github.com/treban/pimatic-tradfri/blob/master/tradfri.coffee#L629 https://github.com/michbeck100/pimatic-hap/blob/master/accessories/base.coffee#L61 https://github.com/michbeck100/pimatic-hap/blob/master/accessories/switch.coffee#L35