Interface BulbEvents

Hierarchy

  • BulbEvents

Properties

emeter-realtime-update: ((value) => void)

Type declaration

Events

lightstate-change: ((value) => void)

Type declaration

    • (value): void
    • Bulb's lightstate was changed. Bulb#lightstate-change

      Parameters

      Returns void

lightstate-off: ((value) => void)

Type declaration

    • (value): void
    • Bulb was turned off (lightstate.on_off). Bulb#lightstate-off

      Parameters

      Returns void

lightstate-on: ((value) => void)

Type declaration

    • (value): void
    • Bulb was turned on (lightstate.on_off). Bulb#lightstate-on

      Parameters

      Returns void

lightstate-sysinfo-change: ((value) => void)

Type declaration

    • (value): void
    • Bulb's lightstate (sysinfo.light_state) was changed. Bulb#lightstate-sysinfo-change

      Parameters

      Returns void

lightstate-sysinfo-off: ((value) => void)

Type declaration

    • (value): void
    • Bulb was turned off (sysinfo.light_state.on_off). Bulb#lightstate-sysinfo-off

      Parameters

      Returns void

lightstate-sysinfo-on: ((value) => void)

Type declaration

    • (value): void
    • Bulb was turned on (sysinfo.light_state.on_off). Bulb#lightstate-sysinfo-on

      Parameters

      Returns void

lightstate-sysinfo-update: ((value) => void)

Type declaration

    • (value): void
    • Bulb's lightstate (sysinfo.light_state) was updated from device. Fired regardless if status was changed. Bulb#lightstate-sysinfo-update

      Parameters

      Returns void

lightstate-update: ((value) => void)

Type declaration

    • (value): void
    • Bulb's lightstate was updated from device. Fired regardless if status was changed. Bulb#lightstate-update

      Parameters

      Returns void

Generated using TypeDoc