Home
這個動作(Action)會傳送到指定的家庭點。
組成
一個動作(Action)基本上由兩個主要組件組成:
- 類型(type)
home- 數據(data)
參見 HomeData
HomeData
Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
home_name | 字串 | 是 | - | 要傳送的家庭點。 |
distance_threshold | 數字 | 否 | 0 | 距離閾值,超過閾值才能再次使用家庭點。 |
示例
[
{
"type": "home",
"data": {
"home_name": "h1_7834",
"distance_threshold": 5
}
}
]
Last modified: 12 11月 2023