From: Misterhouse S. C. N. <mis...@li...> - 2011-02-07 21:58:58
|
Revision: 1837 http://misterhouse.svn.sourceforge.net/misterhouse/?rev=1837&view=rev Author: peloy Date: 2011-02-07 21:58:51 +0000 (Mon, 07 Feb 2011) Log Message: ----------- Thanks to Gregg for committing a change so SET?device=toggle can be used from the web interface. His commit used the state_now() method instead of the state() method to figure out what state we are in. However, state_now() is normally the empty string and only has a state value during the loop iteration following the object's state change. Use state() instead of state_now() to figure out what state the object is in. Modified Paths: -------------- branches/insteon/lib/Insteon/BaseInsteon.pm This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |