Schedules API

class hueclient.models.schedules.Schedule(**kwargs)

Bases: hueclient.monitor.MonitorMixin, repose.resources.Resource

name

The name of the schedule.

description

Description of the schedule

command

Command to execute when the scheduled event occurs

local_time

Local time when the scheduled event will occur

status

Status, either ‘enabled’ or ‘disabled’

auto_delete

If set to true, the schedule will be removed automatically if expired, if set to false it will be disabled. Default is true.

start_time

UTC time that the timer was started. Only provided for timers.

class hueclient.models.schedules.Command(**kwargs)

Bases: hueclient.monitor.MonitorMixin, repose.resources.Resource

address

The address to call (without protcol or domain). Eg: /api/<username>/groups/0/action

body

The body of the request

method

The HTTP request method