diff --git a/CHANGES.md b/CHANGES.md index d8a385a..2dcdb5d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,14 @@ Release Notes ========== +Version 0.19.4 (Beta 19.4) +========== +* **NOTE** There are going to be a few miscellaneous builds flying through pretty fast to get SenseMe fans working for Webdeck, since he had such a big role in this plugin he gets special treatment - deal with it :). Anyway, you don't need to update to these if you aren't using SenseMe. +* Fixed SenseMe fan and light action names + +Previous Release Notes +========== + Version 0.19.3 (Beta 19.3) ========== * **NOTE** There are going to be a few miscellaneous builds flying through pretty fast to get SenseMe fans working for Webdeck, since he had such a big role in this plugin he gets special treatment - deal with it :). Anyway, you don't need to update to these if you aren't using SenseMe. @@ -8,9 +16,6 @@ Version 0.19.3 (Beta 19.3) * Fixed iteration problem for computed state value function (SenseMe work) * Added additional threshold for brightness values on SenseMe light -Previous Release Notes -========== - Version 0.19.2 (Beta 19.2) ========== * **NOTE** There are going to be a few miscellaneous builds flying through pretty fast to get SenseMe fans working for Webdeck, since he had such a big role in this plugin he gets special treatment - deal with it :). Anyway, you don't need to update to these if you aren't using SenseMe. diff --git a/EPS HomeKit Bridge.indigoPlugin/Contents/Info.plist b/EPS HomeKit Bridge.indigoPlugin/Contents/Info.plist index 1e802a6..1d37858 100755 --- a/EPS HomeKit Bridge.indigoPlugin/Contents/Info.plist +++ b/EPS HomeKit Bridge.indigoPlugin/Contents/Info.plist @@ -3,7 +3,7 @@ PluginVersion - 0.19.3 + 0.19.4 ServerApiVersion 2.0 IwsApiVersion diff --git a/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/lib/homekit.py b/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/lib/homekit.py index 579aab6..9cb15e5 100755 --- a/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/lib/homekit.py +++ b/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/lib/homekit.py @@ -2089,7 +2089,7 @@ def special_SenseMeFanSpeed (self, classes, sourceDict, getter, characteristic, self.characterDict[characteristic] = getattr (self, characteristic).value valuesDict = {'speed': "=calc="} - self.actions.append (HomeKitAction(characteristic, "between", 0, "homekit.runPluginAction_ModifyValue", [indigo.devices[self.objId].pluginId, "=value=", "divide", 12.5, ["setFanSpeed", self.objId, valuesDict]], 100, {self.objId: "state_speed"})) + self.actions.append (HomeKitAction(characteristic, "between", 0, "homekit.runPluginAction_ModifyValue", [indigo.devices[self.objId].pluginId, "=value=", "divide", 12.5, ["fanSpeed", self.objId, valuesDict]], 100, {self.objId: "state_speed"})) except Exception as e: self.logger.error (ext.getException(e) + "\nFor object id {} alias '{}'".format(str(self.objId), self.alias.value)) @@ -2112,7 +2112,7 @@ def special_SenseMeLightLevel (self, classes, sourceDict, getter, characteristic self.characterDict[characteristic] = getattr (self, characteristic).value valuesDict = {'lightLevel': "=calc="} - self.actions.append (HomeKitAction(characteristic, "between", 0, "homekit.runPluginAction_ModifyValue", [indigo.devices[self.objId].pluginId, "=value=", "divide", 5.89, ["setFanSpeed", self.objId, valuesDict]], 100, {self.objId: "state_brightness"})) + self.actions.append (HomeKitAction(characteristic, "between", 0, "homekit.runPluginAction_ModifyValue", [indigo.devices[self.objId].pluginId, "=value=", "divide", 5.89, ["fanLightBrightness", self.objId, valuesDict]], 100, {self.objId: "state_brightness"})) except Exception as e: self.logger.error (ext.getException(e) + "\nFor object id {} alias '{}'".format(str(self.objId), self.alias.value))