Sends a homeassistant notification

Hierarchy

  • NotifierConfig
    • HomeassistantConfig

Properties

customData: undefined | Record<string, string | number | boolean>

A key-value pair object to additionally pass into the service's data object

Example

{ "parse_mode": "html" }

Env

HOMEASSISTANT_CUSTOM_DATA (stringified JSON)

instance: string

Example

https://homeassistant.example.com

Env

HOMEASSISTANT_INSTANCE

notifyservice: string

Example

mobile_app_smartphone_name

Env

HOMEASSISTANT_NOTIFYSERVICE

token: string

Example

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

Env

HOMEASSISTANT_LONG_LIVED_ACCESS_TOKEN

Generated using TypeDoc