preheat_open.loadable_types.ScheduleItem

class preheat_open.loadable_types.ScheduleItem(start, value, operation, owner_id=None)

Bases: object

Represents an item in a schedule.

Variables:
  • start (datetime) – The start time of the schedule item.

  • value (float) – The value of the schedule item.

  • operation (OperationType) – The operation type of the schedule item.

  • owner_id (int, optional) – The ID of the owner of the schedule item.

__init__(start, value, operation, owner_id=None)

Methods

__init__(start, value, operation[, owner_id])

Attributes

owner_id

start

value

operation