Skip to content

Commit

Permalink
Update L_Ecobee1.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
rafale77 authored May 1, 2018
1 parent 04ffaf4 commit 878ed9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/L_Ecobee1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ end
log("plugin version " .. PLUGIN_VERSION .. " starting up...", 50)

PARENT_DEVICE = lul_device

Client_ID = luup.variable_get(ECOBEE_SID, "API_Key", lul_device)
TemperaturePrecision = tonumber(readVariableOrInit(PARENT_DEVICE, ECOBEE_SID, "TemperaturePrecision", "1"))
TemperaturePrecision = TemperaturePrecision or 1
if TemperaturePrecision < 1 or TemperaturePrecision > 1000 then
Expand Down

0 comments on commit 878ed9c

Please sign in to comment.