preheat_open.loadable_types

loadable_types.py

This module defines classes related to loadable data types, schedules, and comfort profiles.

Classes:

LoadableDataType LoadableData OperationType ScheduleItem SetpointSchedule ComponentData Setpoint ComfortProfile

Classes

ComfortProfile([id, name, setpoints])

Represents a comfort profile containing multiple setpoints.

ComfortProfiles([profiles])

Represents a collection of comfort profiles.

ComponentData([measurements])

Represents data for a component, including measurements and date range.

ElectricityPriceItem(time, value)

Represents an electricity price item.

ElectricityPrices([data, tariff_included, ...])

Represents electricity prices.

LoadableData([date_range, data, getter, setter])

LoadableDataType()

Represents data that can be loaded for a specific date range.

OperationType(value)

Enum representing the type of operation for a schedule item.

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

Represents an item in a schedule.

Setpoint([max, min, setpoint, time, vacation])

Represents a setpoint for a specific time.

SetpointSchedule([schedule])

Represents a setpoint schedule containing multiple schedule items.

Exceptions

InvalidScheduleError

Exception raised for errors in the schedule.