homebridge-cool-automation
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -82,2 +82,4 @@ function fanSpeedToHK(value, fanSpeeds) { | ||
capabilities.ALL = settings | ||
if (platform.coolMode !== false) | ||
@@ -107,3 +109,3 @@ capabilities.COOL = settings | ||
currentTemperature: state.tunit === 'C' ? state.rt : toCelsius(state.rt), | ||
fanSpeed: state.fspeed ? fanSpeedToHK(state.fspeed, device.capabilities[state.mode].fanSpeeds) : 0 | ||
fanSpeed: state.fspeed ? fanSpeedToHK(state.fspeed, device.capabilities.ALL.fanSpeeds) : 0 | ||
} | ||
@@ -117,5 +119,5 @@ }, | ||
st: state.targetTemperature, | ||
fspeed: state.fanSpeed ? HKToFanSpeed(state.fanSpeed, device.capabilities[state.mode].fanSpeeds): 'AUTO' | ||
fspeed: state.fanSpeed ? HKToFanSpeed(state.fanSpeed, device.capabilities.ALL.fanSpeeds): 'AUTO' | ||
} | ||
} | ||
} |
{ | ||
"name": "homebridge-cool-automation", | ||
"description": "Homebridge plugin for Cool Automation - HVAC Systems Controller", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
265884
1273