Sensor
A Sensor detects and/or measures conditions and sends signals to trigger actions as part of an Automation. Common Sensors include schedule-based Sensors, user-defined customizable Sensors, etc.
Sensor​
Below are the properties for the Sensor
. Each property links to the specific details section further down in this page.
Property | Default | Type | Required | Description |
---|---|---|---|---|
sensor | Yes | Sensor configuration options. |
Property Details​
SensorOptions​
Configuration options for a Sensor.
Property | Default | Type | Required | Description |
---|---|---|---|---|
description | string | No | Brief description of what the model does. | |
metadata | No | Meta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources. | ||
name | string | Yes | The name of the model | |
config | object with property values of type None | Yes | Sensor configuration. | |
type | string | Yes | Type of sensor. |
ResourceMetadata​
Meta information of a resource. In most cases, it doesn't affect the system behavior but may be helpful to analyze Project resources.
Property | Default | Type | Required | Description |
---|---|---|---|---|
source | No | The origin or source information for the resource. | ||
source_event_uuid | string | No | Event UUID associated with creation of this resource. |
ResourceLocation​
The origin or source information for the resource.
Property | Default | Type | Required | Description |
---|---|---|---|---|
path | string | Yes | Path within repository files where the resource is defined. | |
first_line_number | integer | No | First line number within path file where the resource is defined. |