Options
All
  • Public
  • Public/Protected
  • All
Menu

Module

Index

Type aliases

AccessToken

AccessToken: string

StateChangedEvent

StateChangedEvent<T>: HassEventBase & { data: { entity_id: string; new_state: T | null; old_state: T | null }; event_type: "state_changed" }

Custom version of the StateChangedEvent suppporting a gneric type of the entity that has changed state.

Type parameters

  • T: HassEntityBase

    Entity tape of the entity.

Generated using TypeDoc