The metadata Struct

The metadata Struct is where you provide the name of the Automation and a description. The name and description information is usually for the user's reference, and is displayed in different UIs.

Example:

metadata:
  name: TV Time
  description: When TV is on, turn on lights

The fields used in the metadata Struct are:

Key

Type

Description

name

String

The name of your Automation in your language

description

String

A short user-facing description of your Automation in your language.