通知指令

說明

傳送通知給指定住家成員。

欄位

金鑰 類型 說明
title 字串

通知的標題。

需要

可使用變數。

body 字串

通知的內文。

選用

可使用變數。

members [使用者]

將收到通知的住家成員。

選用

可使用變數。

範例

actions:
- type: home.command.Notification
  title: My automation
  body: My automation is running
  members:
  - Alice - alice@gmail.com
  - Bob - bob@gmail.com