LightLevelGet
Properties
Name | Type | Required | Description |
---|---|---|---|
type_ | str | ❌ | Type of the supported resources |
id_ | str | ❌ | Unique identifier representing a specific resource instance |
id_v1 | str | ❌ | Clip v1 resource identifier |
owner | ResourceIdentifier | ❌ | |
enabled | bool | ❌ | true when sensor is activated, false when deactivated |
light | Light | ❌ |
Light
Properties
Name | Type | Required | Description |
---|---|---|---|
light_level | int | ❌ | Deprecated. Moved to light_level_report/light_level |
light_level_valid | bool | ❌ | Deprecated. Indication whether the value presented in light_level is valid |
light_level_report | LightLevelReport | ❌ |
LightLevelReport
Properties
Name | Type | Required | Description |
---|---|---|---|
changed | str | ❌ | last time the value of this property is changed. |
light_level | int | ❌ | Light level in 10000*log10(lux) +1 measured by sensor. Logarithmic scale used because the human eye adjusts to light levels and small changes at low lux levels are more noticeable than at high lux levels. This allows use of linear scale configuration sliders. |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs