preheat_open.unit.ControlSettings

class preheat_open.unit.ControlSettings(settings, parent=None)

Bases: object

Represents a collection of control settings.

Variables:
  • settings (dict[str, ControlSetting]) – A dictionary of control settings.

  • parent (Unit) – The parent unit.

__init__(settings, parent=None)

Methods

__init__(settings[, parent])

from_building_model_dict(data, adapter)

Creates a ControlSettings object from a building model dictionary.

get(itype[, default])

Gets a control setting by type.

to_building_model_dict()

Converts the ControlSettings object to a dictionary.

classmethod from_building_model_dict(data, adapter)

Creates a ControlSettings object from a building model dictionary.

Return type:

ControlSettings

get(itype, default=None)

Gets a control setting by type.

Return type:

ControlSetting

to_building_model_dict()

Converts the ControlSettings object to a dictionary.

Returns:

A dictionary representation of the control settings.

Return type:

dict