Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ACDevice

Hierarchy

Index

Constructors

constructor

Properties

client

client: Client

device

device: DeviceInfo

model

model: ModelInfo

Optional monitor

monitor: Monitor

Accessors

c2f

  • get c2f(): any

f2c

  • get f2c(): any

Methods

getConfig

  • getConfig(key: string): Promise<any>

getControl

  • getControl(key: string): Promise<any>

getEnergyTarget

  • getEnergyTarget(): Promise<any>

getFilterState

  • getFilterState(): Promise<any>

getLight

  • getLight(): Promise<boolean>

getMFilterState

  • getMFilterState(): Promise<any>

getVolume

  • getVolume(): Promise<number>

getZones

  • getZones(): Promise<any>

load

  • load(): Promise<void>

poll

setCelsius

  • setCelsius(c: any): Promise<void>

setControl

  • setControl(key: string, value: any): Promise<any>

setFahrenheit

  • setFahrenheit(f: any): Promise<void>

setFanSpeed

setHorizontalSwing

setMode

  • setMode(mode: ACMode): Promise<void>

setOn

  • setOn(isOn: boolean): Promise<void>

setVerticalSwing

setZones

  • setZones(zones: any): Promise<void>
  • Turn off or on the device's zones.

    The zones parameter is a list of dicts with these keys:

    • "No": The zone index. A string containing a number, starting from 1.
    • "Cfg": Whether the zone is enabled. A string, either "1" or "0".
    • "State": Whether the zone is open. Also "1" or "0".

    Parameters

    • zones: any

    Returns Promise<void>

startMonitor

  • startMonitor(): Promise<void>

stopMonitor

  • stopMonitor(): Promise<void>

Generated using TypeDoc