Hierarchy

  • Lighting

Constructors

Accessors

  • get lightState(): LightState
  • Returns cached results from last retrieval of lightingservice.get_light_state.

    Returns LightState

    cached results from last retrieval of lightingservice.get_light_state.

Methods

  • Get Bulb light details.

    Requests lightingservice.get_light_details.

    Parameters

    Returns Promise<unknown>

    parsed JSON response

  • Sets Bulb light state (on/off, brightness, color, etc).

    Sends lightingservice.transition_light_state command.

    Parameters

    Returns Promise<true>

Generated using TypeDoc