Open sjhill01 opened 2 years ago
HS4 devices no longer have a "both" option for their StatusGraphic or StatusControl, so I assume it is a HS3 device?
I have just tried the following instruction on a HS3 device, and its status string was correctly updated:
HomeSeerSystem.UpdatePropertyByRef(514, EProperty.StatusString, "Test")
;
Note that you shouldn't use EProperty.DisplayedStatus
to set a status string, this property is get only.
Don't know why I missed this reply in my email... sorry for the delay. Yes, this applies to devices that started life in HS3 but are now in HS4. My issue may be that they had VSPs/VGPs in HS3 and I can no longer get of those. They're stuck showing whatever they had in HS3 once the user upgrades to HS4. We need a way to reset HS4 Devices to not have those.
For my thermostat device, the control button is "Temporary", but my code sets the display string to "Until X:XX PM". Once I updated to the latest plugin SDK, my device string (whether I use "StatusString" or "DisplayedStatus") is blank, unless I set the VSP to "Both", in which case it's "Temporary".
EDIT: Not related to 1.4, I just can't figure out how to make the string say whatever I want it to say!