preheat_open.unit.ControlSetting

class preheat_open.unit.ControlSetting(type=None, value=None, unit='')

Bases: object

Represents a control setting for a unit.

Variables:
  • type (Enum) – The type of the control setting.

  • value (Any) – The value of the control setting.

  • unit (str) – The unit of the control setting.

__init__(type=None, value=None, unit='')

Methods

__init__([type, value, unit])

to_building_model_dict()

Converts the ControlSetting object to a dictionary.

to_building_model_dict()

Converts the ControlSetting object to a dictionary.

Returns:

A dictionary representation of the control setting.

Return type:

dict