I've been reading up on the forum and reading up on some of the Device State options, primarily thinking about the "Heatpoint/Coolpoint within x degrees of ambient" and would like to use that device state to control a Fanlinc.
However, I would REALLY like to have multiple trigger points so I could set the fan speed depending on how far from Target the Ambient is (I have a Haiku fan in one room and love how intelligently it sets its speed based on presence and temp points)
For example:
Heatpoint/Coolpoint is set to 72 degrees,
If Ambient is 74, fan speed should be set to low (target within 2 degrees of ambient)
if Ambient is 76, fan speed should be set to medium (target within 4 degrees of ambient)
if Ambient is 78, fan speed should be set to high (target within 6 degrees of ambient)
I feel fairly comfortable working with triggers and conditions, but not so hot with the AppleScript... Any thoughts on how to accomplish my goal?