Set Point into a variable

SMUSEBY
Posts: 638
Joined: Wed Sep 16, 2009 9:38 pm
Location: California

Set Point into a variable

Post by SMUSEBY »

I am attempting to extract the heater set point and assign it to a variable. None of the three labels found with "print device detail to event log work".
setpointHeat, setpointHeat.ui, and heatSetpoint.
Plugin ver 2025.0.1.
Script Error trigger "Heater setpoint to Var" script error in file htr setPt to Var.py:
Script Error 'key Heat Setpoint: not found in dict'
Script Error Exception Traceback (most recent call shown last):

htr setPt to Var.py, line 3, at top level
KeyError: 'key Heat Setpoint: not found in dict'
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Set Point into a variable

Post by FlyingDiver »

Can't really help without seeing the script, but just looking at the error message I expect you have a space in the name of the state you're trying to extract.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
SMUSEBY
Posts: 638
Joined: Wed Sep 16, 2009 9:38 pm
Location: California

Re: Set Point into a variable

Post by SMUSEBY »

It was the space. Thanks.
Post Reply

Return to “Ecobee”