33 | | * New approach to flagging offline bulbs. Instead of being rendered invisible, the name off offline bulbs are now prefixed with "[Offline]". The offline labeling can be modified through the ''OfflineDeviceNameFormat'' state variable. The format string is as per that used by the Lua [http://www.lua.org/pil/20.html string.format] function, where the %s placeholder is replaced with the device name. For example, if the bulb named "Front Entry Light" goes offline, the default format string of ''[Offline] %s'' will cause the device name to be displayed as "[Offline] Front Entry Light" if the status of the bulb cannot be retrieved. Changing the value of the ''OfflineDeviceNameFormat'' state variable to ''%s is unavailable'' would result in a display name of "Front Entry Light is unavailable". A prefix was chosen as the default format string, simply because the Vera UI truncates longer names, thus a suffix would not be displayed in some case. |
| 33 | * New approach to flagging offline bulbs. Instead of being rendered invisible, the name off offline bulbs are now prefixed with "[Offline]". The offline labeling can be modified through the ''OfflineDeviceNameFormat'' state variable. The format string is as per that used by the Lua [http://www.lua.org/pil/20.html string.format] function, where the %s placeholder is replaced with the device name. For example, if the bulb named "Front Entry Light" goes offline, the default format string of ''[Offline] %s'' will cause the device name to be displayed as "[Offline] Front Entry Light" if the status of the bulb cannot be retrieved. Changing the value of the ''OfflineDeviceNameFormat'' state variable to ''%s is unavailable'' would result in a display name of "Front Entry Light is unavailable". A prefix was chosen as the default format string, simply because the Vera UI truncates longer names, thus a suffix would not be displayed in some cases. |