weheat 2024.7.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of weheat might be problematic. Click here for more details.

@@ -0,0 +1,768 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Weheat Backend
5
+
6
+ This is the backend for the Weheat project
7
+
8
+ The version of the OpenAPI document: v1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from datetime import datetime
21
+ from typing import Optional, Union
22
+ from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr
23
+
24
+ class HeatPumpLogViewDto(BaseModel):
25
+ """
26
+ HeatPumpLogViewDto
27
+ """
28
+ time_bucket: Optional[datetime] = Field(None, alias="timeBucket", description="Timestamp of the beginning of this interval (UTC)")
29
+ interval: Optional[StrictStr] = Field(None, description="Interval Granularity of this HeatPumpLogViewDto (Correct intervals include: \"Hour\", \"Day\", \"Week\", \"Month\", \"Year\")")
30
+ time_covered_in_interval: Optional[StrictInt] = Field(None, alias="timeCoveredInInterval", description="Amount of time covered by this interval in seconds out of a maximum of the Interval (Granularity) in seconds")
31
+ heat_pump_state_standby: Optional[StrictInt] = Field(None, alias="heatPumpStateStandby", description="Amount of seconds the heat pump spend in the standby state for this interval")
32
+ heat_pump_state_heating: Optional[StrictInt] = Field(None, alias="heatPumpStateHeating", description="Amount of seconds the heat pump spend in the heating state for this interval")
33
+ heat_pump_state_defrost_req_active: Optional[StrictInt] = Field(None, alias="heatPumpStateDefrostReqActive", description="Amount of seconds the heat pump spend in the defrost required active state for this interval")
34
+ heat_pump_state_defrost_open_valve: Optional[StrictInt] = Field(None, alias="heatPumpStateDefrostOpenValve", description="Amount of seconds the heat pump spend in the defrost opening valve state for this interval")
35
+ heat_pump_state_defrost_close_valve: Optional[StrictInt] = Field(None, alias="heatPumpStateDefrostCloseValve", description="Amount of seconds the heat pump spend in the defrost state closing valve for this interval")
36
+ heat_pump_state_defrost_drip: Optional[StrictInt] = Field(None, alias="heatPumpStateDefrostDrip", description="Amount of seconds the heat pump spend in the defrost drip state for this interval")
37
+ heat_pump_state_defrost_cooling: Optional[StrictInt] = Field(None, alias="heatPumpStateDefrostCooling", description="Amount of seconds the heat pump spend in the defrost cooling state for this interval")
38
+ heat_pump_state_cooling: Optional[StrictInt] = Field(None, alias="heatPumpStateCooling", description="Amount of seconds the heat pump spend in the cooling state for this interval")
39
+ heat_pump_state_dhw: Optional[StrictInt] = Field(None, alias="heatPumpStateDHW", description="Amount of seconds the heat pump spend in the (heating) Domestic Hot Water stae for this interval")
40
+ heat_pump_state_legionnaires_disease_prevention: Optional[StrictInt] = Field(None, alias="heatPumpStateLegionnairesDiseasePrevention", description="Amount of seconds the heat pump spend in the Legionnaires' Disease Prevention state for this interval")
41
+ rpm_control_startup: Optional[StrictInt] = Field(None, alias="rpmControlStartup", description="Amount of seconds the heat pump spend in one of the RPM Control Startup states for this interval")
42
+ rpm_control_running: Optional[StrictInt] = Field(None, alias="rpmControlRunning", description="Amount of seconds the heat pump spend in one of the RPM Control Running state for this interval")
43
+ rpm_control_running_abnormally: Optional[StrictInt] = Field(None, alias="rpmControlRunningAbnormally", description="Amount of seconds the heat pump spend in the RPM Control Running Abnormally states for this interval")
44
+ rpm_control_shutdown: Optional[StrictInt] = Field(None, alias="rpmControlShutdown", description="Amount of seconds the heat pump spend in one of the RPM Control Shutdown states for this interval")
45
+ control_bridge_status_water_pump: Optional[StrictInt] = Field(None, alias="controlBridgeStatusWaterPump", description="Amount of seconds the heat pump spend in the Control Bridge Status Water Pump state to true for this interval")
46
+ control_bridge_status_dhw_valve: Optional[StrictInt] = Field(None, alias="controlBridgeStatusDhwValve", description="Amount of seconds the heat pump spend in the Control Bridge Status DHW Valve state to true for this interval")
47
+ control_bridge_status_gas_boiler: Optional[StrictInt] = Field(None, alias="controlBridgeStatusGasBoiler", description="Amount of seconds the heat pump spend in the Control Bridge Status Gas Boiler state to true for this interval")
48
+ control_bridge_status_electric_heater: Optional[StrictInt] = Field(None, alias="controlBridgeStatusElectricHeater", description="Amount of seconds the heat pump spend in the Control Bridge Status Electric Heater state to true for this interval")
49
+ control_bridge_status_water_pump2: Optional[StrictInt] = Field(None, alias="controlBridgeStatusWaterPump2", description="Amount of seconds the heat pump spend in the Control Bridge Status Water Pump 2 state to true for this interval")
50
+ dtc_none: Optional[StrictInt] = Field(None, alias="dtcNone", description="Amount of seconds the heat pump spend in the No DTC codes Error state for this interval (staff only)")
51
+ dtc_continue: Optional[StrictInt] = Field(None, alias="dtcContinue", description="Amount of seconds the heat pump spend in the DTC but can Continue Error state for this interval (staff only)")
52
+ dtc_compressor_off: Optional[StrictInt] = Field(None, alias="dtcCompressorOff", description="Amount of seconds the heat pump spend in the DTC Compressor Off Error state for this interval (staff only)")
53
+ dtc_defrost_forbidden: Optional[StrictInt] = Field(None, alias="dtcDefrostForbidden", description="Amount of seconds the heat pump spend in the DTC Defrost Forbidden Error state for this interval (staff only)")
54
+ dtc_request_service: Optional[StrictInt] = Field(None, alias="dtcRequestService", description="Amount of seconds the heat pump spend in the DTC Request Service Error state for this interval (staff only)")
55
+ dtc_use_heating_curve: Optional[StrictInt] = Field(None, alias="dtcUseHeatingCurve", description="Amount of seconds the heat pump spend in the DTC Use Heating Curve (only) Error state for this interval (staff only)")
56
+ dtc_dhw_forbidden: Optional[StrictInt] = Field(None, alias="dtcDhwForbidden", description="Amount of seconds the heat pump spend in the DTC HW Forbidden Error state for this interval (staff only)")
57
+ dtc_error: Optional[StrictInt] = Field(None, alias="dtcError", description="Amount of seconds the heat pump spend in the DTC DTC Error state for this interval (staff only)")
58
+ dtc_inactive: Optional[StrictInt] = Field(None, alias="dtcInactive", description="Amount of seconds the heat pump spend in the DTC Inactive Error state for this interval (staff only)")
59
+ signal_strength_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="signalStrengthAverage", description="Average of the Signal Strength (integer out of 20) of the heat pump for this interval (staff only)")
60
+ signal_strength_min: Optional[StrictInt] = Field(None, alias="signalStrengthMin", description="Minimal Signal Strength (integer out of 20) of the heat pump for this interval (staff only)")
61
+ signal_strength_max: Optional[StrictInt] = Field(None, alias="signalStrengthMax", description="Maximum Signal Strength (integer out of 20) of the heat pump for this interval (staff only)")
62
+ t1_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="t1Average", description="Average temperature of the top DHW sensor (T1) of the heat pump for this interval")
63
+ t1_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="t1Min", description="Minimum temperature of the top DHW sensor (T1) of the heat pump for this interval")
64
+ t1_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="t1Max", description="Maximum temperature of the top DHW sensor (T1) of the heat pump for this interval")
65
+ t2_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="t2Average", description="Average temperature of the bottom DHW sensor (T2) of the heat pump for this interval")
66
+ t2_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="t2Min", description="Minimum temperature of the bottom DHW sensor (T2) of the heat pump for this interval")
67
+ t2_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="t2Max", description="Maximum temperature of the bottom DHW sensor (T2) of the heat pump for this interval")
68
+ t_spare_ntc_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tSpareNtcAverage", description="Average temperature of the spare DHW sensor (TSpareNTC) of the heat pump for this interval (staff only)")
69
+ t_spare_ntc_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tSpareNtcMin", description="Minimum temperature of the spare DHW sensor (TSpareNTC) of the heat pump for this interval (staff only)")
70
+ t_spare_ntc_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tSpareNtcMax", description="Maximum temperature of the spare DHW sensor (TSpareNTC) of the heat pump for this interval (staff only)")
71
+ t_board_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tBoardAverage", description="Average temperature of the control board of the heat pump for this interval (staff only)")
72
+ t_board_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tBoardMin", description="Minimum temperature of the control board of the heat pump for this interval (staff only)")
73
+ t_board_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tBoardMax", description="Maximum temperature of the control board of the heat pump for this interval (staff only)")
74
+ t_air_in_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tAirInAverage", description="Average temperature of air going into the heat pump for this interval")
75
+ t_air_in_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tAirInMin")
76
+ t_air_in_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tAirInMax")
77
+ t_air_out_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tAirOutAverage", description="Average temperature of air going out of the heat pump for this interval")
78
+ t_air_out_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tAirOutMin", description="Minimum temperature of air going out of the heat pump for this interval")
79
+ t_air_out_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tAirOutMax", description="Maximum temperature of air going out of the heat pump for this interval")
80
+ t_water_in_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tWaterInAverage", description="Average temperature of the water going into the heat pump for this interval")
81
+ t_water_in_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tWaterInMin", description="Minimum temperature of the water going into the heat pump for this interval")
82
+ t_water_in_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tWaterInMax", description="Maximum temperature of the water going into the heat pump for this interval")
83
+ t_water_out_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tWaterOutAverage", description="Average temperature of the water going out of the heat pump for this interval")
84
+ t_water_out_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tWaterOutMin", description="Minimum temperature of the water going out of the heat pump for this interval")
85
+ t_water_out_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tWaterOutMax", description="Maximum temperature of the water going out of the heat pump for this interval")
86
+ t_water_house_in_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tWaterHouseInAverage", description="Average temperature of the water going into the house for this interval")
87
+ t_water_house_in_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tWaterHouseInMin", description="Minimum temperature of the water going into the house for this interval")
88
+ t_water_house_in_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tWaterHouseInMax", description="Maximum temperature of the water going into the house for this interval")
89
+ rpm_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="rpmAverage", description="Average RPM of the compressor for this interval (not for consumers)")
90
+ rpm_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="rpmMin", description="Minimum RPM of the compressor for this interval (not for consumers)")
91
+ rpm_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="rpmMax", description="Maximum RPM of the compressor for this interval (not for consumers)")
92
+ rpm_limiter_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="rpmLimiterAverage", description="Average RPM value the heat pump was limited to for this interval (staff only)")
93
+ rpm_limiter_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="rpmLimiterMin", description="Minimum RPM value the heat pump was limited to for this interval (staff only)")
94
+ rpm_limiter_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="rpmLimiterMax", description="Maximum RPM value the heat pump was limited to for this interval (staff only)")
95
+ rpm_limiter_no_limit: Optional[StrictInt] = Field(None, alias="rpmLimiterNoLimit", description="Amount of time the compressor RPM was not Limited at all by the RPM Limiter state for this interval (staff only)")
96
+ rpm_limiter_power_limit: Optional[StrictInt] = Field(None, alias="rpmLimiterPowerLimit", description="Amount of time the compressor RPM was being most limited by the amount of Power by the RPM Limiter state for this interval (staff only)")
97
+ rpm_limiter_defrost: Optional[StrictInt] = Field(None, alias="rpmLimiterDefrost", description="Amount of time the compressor RPM was being most limited because of Defrost by the RPM Limiter state for this interval (staff only)")
98
+ rpm_limiter_silent_hours: Optional[StrictInt] = Field(None, alias="rpmLimiterSilentHours", description="Amount of time the compressor RPM was being most limited because of Silent Hours by the RPM Limiter state for this interval (staff only)")
99
+ rpm_limiter_hp_control: Optional[StrictInt] = Field(None, alias="rpmLimiterHPControl", description="Amount of time the compressor RPM was being most limited because of HP Control method by the RPM Limiter state for this interval (staff only)")
100
+ rpm_limiter_pressure: Optional[StrictInt] = Field(None, alias="rpmLimiterPressure", description="Amount of time the compressor RPM was being most limited because of its Pressure by the RPM Limiter state for this interval (staff only)")
101
+ rpm_limiter_water_out: Optional[StrictInt] = Field(None, alias="rpmLimiterWaterOut", description="Amount of time the compressor RPM was being most limited because of its Water Out temperature by the RPM Limiter state for this interval (staff only)")
102
+ rpm_limiter_envelope: Optional[StrictInt] = Field(None, alias="rpmLimiterEnvelope", description="Amount of time the compressor RPM was being most limited because of Envelope control method by the RPM Limiter state for this interval (staff only)")
103
+ rpm_limiter_house_in: Optional[StrictInt] = Field(None, alias="rpmLimiterHouseIn", description="Amount of time the compressor RPM was being most limited because of its Water In temperature by the RPM Limiter state for this interval (staff only)")
104
+ p_compressor_in_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pCompressorInAverage", description="Average pressure on the intake side of the compressor for this interval (not for consumers)")
105
+ p_compressor_in_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pCompressorInMin", description="Minimum pressure on the intake side of the compressor for this interval (not for consumers)")
106
+ p_compressor_in_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pCompressorInMax", description="Maximum pressure on the intake side of the compressor for this interval (not for consumers)")
107
+ p_compressor_out_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pCompressorOutAverage", description="Average pressure on the output side of the compressor for this interval (not for consumers)")
108
+ p_compressor_out_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pCompressorOutMin", description="Minimum pressure on the output side of the compressor for this interval (not for consumers)")
109
+ p_compressor_out_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pCompressorOutMax", description="Maximum pressure on the output side of the compressor for this interval (not for consumers)")
110
+ p_compressor_in_target_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pCompressorInTargetAverage", description="Average target pressure (on the intake side) of the compressor for this interval (not for consumers)")
111
+ p_compressor_in_target_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pCompressorInTargetMin", description="Minimum target pressure (on the intake side) of the compressor for this interval (not for consumers)")
112
+ p_compressor_in_target_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pCompressorInTargetMax", description="Maximum target pressure (on the intake side) of the compressor for this interval (not for consumers)")
113
+ t_inverter_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tInverterAverage", description="Average temperature of the inverter for this interval (staff only)")
114
+ t_inverter_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tInverterMin", description="Minimum temperature of the inverter for this interval (staff only)")
115
+ t_inverter_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tInverterMax", description="Maximum temperature of the inverter for this interval (staff only)")
116
+ t_compressor_in_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorInAverage", description="Average temperature of intake side of the compressor for this interval (not for consumers)")
117
+ t_compressor_in_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorInMin", description="Minimum temperature of intake side of the compressor for this interval (not for consumers)")
118
+ t_compressor_in_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorInMax", description="Maximum temperature of intake side of the compressor for this interval (not for consumers)")
119
+ t_compressor_out_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorOutAverage", description="Average temperature of output side of the compressor for this interval (not for consumers)")
120
+ t_compressor_out_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorOutMin", description="Minimum temperature of output side of the compressor for this interval (not for consumers)")
121
+ t_compressor_out_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorOutMax", description="Maximum temperature of output side of the compressor for this interval (not for consumers)")
122
+ t_compressor_in_transient_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorInTransientAverage", description="Average temperature transient for the intake side of the compressor for this interval (staff only)")
123
+ t_compressor_in_transient_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorInTransientMin", description="Minimum temperature transient for the intake side of the compressor for this interval (staff only)")
124
+ t_compressor_in_transient_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorInTransientMax", description="Maximum temperature transient for the intake side of the compressor for this interval (staff only)")
125
+ t_compressor_out_transient_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorOutTransientAverage", description="Average temperature transient for the output side of the compressor for this interval (staff only)")
126
+ t_compressor_out_transient_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorOutTransientMin", description="Minimum temperature transient for the output side of the compressor for this interval (staff only)")
127
+ t_compressor_out_transient_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tCompressorOutTransientMax", description="Maximum temperature transient for the output side of the compressor for this interval (staff only)")
128
+ delta_t_compressor_in_superheat_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="deltaTCompressorInSuperheatAverage", description="Average temperature difference in the compressor for Superheat for this interval (staff only)")
129
+ delta_t_compressor_in_superheat_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="deltaTCompressorInSuperheatMin", description="Minimum temperature difference in the compressor for Superheat for this interval (staff only)")
130
+ delta_t_compressor_in_superheat_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="deltaTCompressorInSuperheatMax", description="Maximum temperature difference in the compressor for Superheat for this interval (staff only)")
131
+ compressor_power_low_accuracy_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="compressorPowerLowAccuracyAverage", description="Average power used by the compressor (low accuracy) for this interval (staff only)")
132
+ compressor_power_low_accuracy_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="compressorPowerLowAccuracyMin", description="Minimum power used by the compressor (low accuracy) for this interval (staff only)")
133
+ compressor_power_low_accuracy_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="compressorPowerLowAccuracyMax", description="Maximum power used by the compressor (low accuracy) for this interval (staff only)")
134
+ fan_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="fanAverage", description="Average percentage of the fan used for this interval (staff only)")
135
+ fan_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="fanMin", description="Minimum percentage of the fan used for this interval (staff only)")
136
+ fan_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="fanMax", description="Maximum percentage of the fan used for this interval (staff only)")
137
+ fan_power_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="fanPowerAverage", description="Average power used by the fan for this interval (staff only)")
138
+ fan_power_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="fanPowerMin", description="Minimum power used by the fan for this interval (staff only)")
139
+ fan_power_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="fanPowerMax", description="Maximum power used by the fan for this interval (staff only)")
140
+ cm_mass_power_in_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="cmMassPowerInAverage", description="Average of the total amount of energy produced by the heat pump for this interval (staff only)")
141
+ cm_mass_power_out_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="cmMassPowerOutAverage", description="Average of the total amount of energy produced by the heat pump for this interval (staff only)")
142
+ p_requested_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pRequestedAverage", description="Average Power requested by the heat pump for this interval (staff only)")
143
+ p_requested_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pRequestedMin", description="Minimum Power requested by the heat pump for this interval (staff only)")
144
+ p_requested_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pRequestedMax", description="Maximum Power requested by the heat pump for this interval (staff only)")
145
+ power_error_integral_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="powerErrorIntegralAverage", description="Average value of the PowerErrorIntegral for this interval (staff only)")
146
+ power_error_integral_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="powerErrorIntegralMin", description="Minimum value of the PowerErrorIntegral for this interval (staff only)")
147
+ power_error_integral_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="powerErrorIntegralMax", description="Maximum value of the PowerErrorIntegral for this interval (staff only)")
148
+ thermostat_state_off: Optional[StrictInt] = Field(None, alias="thermostatStateOff", description="Amount of seconds the heat pump spend in the Thermostat State Off state for this interval")
149
+ thermostat_state_on: Optional[StrictInt] = Field(None, alias="thermostatStateOn", description="Amount of seconds the heat pump spend in the Thermostat State On state for this interval")
150
+ t_room_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tRoomAverage", description="Average temperature of the room for this interval")
151
+ t_room_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tRoomMin", description="Minimum temperature of the room for this interval")
152
+ t_room_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tRoomMax", description="Maximum temperature of the room for this interval")
153
+ t_room_target_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tRoomTargetAverage", description="Average target room temperature of the thermostat for this interval")
154
+ t_room_target_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tRoomTargetMin", description="Minimum target room temperature of the thermostat for this interval")
155
+ t_room_target_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tRoomTargetMax", description="Maximum target room temperature of the thermostat for this interval")
156
+ t_thermostat_setpoint_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tThermostatSetpointAverage", description="Average temperature setpoint of the thermostat for this interval OR the water setpoint of the heat pump")
157
+ t_thermostat_setpoint_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tThermostatSetpointMin", description="Minimum temperature setpoint of the thermostat for this interval OR the water setpoint of the heat pump")
158
+ t_thermostat_setpoint_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="tThermostatSetpointMax", description="Maximum temperature setpoint of the thermostat for this interval OR the water setpoint of the heat pump")
159
+ ot_boiler_feed_temperature_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="otBoilerFeedTemperatureAverage", description="Average OpenTherm boiler water feed temperature for this interval")
160
+ ot_boiler_feed_temperature_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="otBoilerFeedTemperatureMin", description="Minimum OpenTherm boiler water feed temperature for this interval")
161
+ ot_boiler_feed_temperature_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="otBoilerFeedTemperatureMax", description="Maximum OpenTherm boiler water feed temperature for this interval")
162
+ ot_boiler_return_temperature_average: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="otBoilerReturnTemperatureAverage", description="Average OpenTherm boiler water return temperature for this interval")
163
+ ot_boiler_return_temperature_min: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="otBoilerReturnTemperatureMin", description="Minimum OpenTherm boiler water return temperature for this interval")
164
+ ot_boiler_return_temperature_max: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="otBoilerReturnTemperatureMax", description="Maximum OpenTherm boiler water return temperature for this interval")
165
+ __properties = ["timeBucket", "interval", "timeCoveredInInterval", "heatPumpStateStandby", "heatPumpStateHeating", "heatPumpStateDefrostReqActive", "heatPumpStateDefrostOpenValve", "heatPumpStateDefrostCloseValve", "heatPumpStateDefrostDrip", "heatPumpStateDefrostCooling", "heatPumpStateCooling", "heatPumpStateDHW", "heatPumpStateLegionnairesDiseasePrevention", "rpmControlStartup", "rpmControlRunning", "rpmControlRunningAbnormally", "rpmControlShutdown", "controlBridgeStatusWaterPump", "controlBridgeStatusDhwValve", "controlBridgeStatusGasBoiler", "controlBridgeStatusElectricHeater", "controlBridgeStatusWaterPump2", "dtcNone", "dtcContinue", "dtcCompressorOff", "dtcDefrostForbidden", "dtcRequestService", "dtcUseHeatingCurve", "dtcDhwForbidden", "dtcError", "dtcInactive", "signalStrengthAverage", "signalStrengthMin", "signalStrengthMax", "t1Average", "t1Min", "t1Max", "t2Average", "t2Min", "t2Max", "tSpareNtcAverage", "tSpareNtcMin", "tSpareNtcMax", "tBoardAverage", "tBoardMin", "tBoardMax", "tAirInAverage", "tAirInMin", "tAirInMax", "tAirOutAverage", "tAirOutMin", "tAirOutMax", "tWaterInAverage", "tWaterInMin", "tWaterInMax", "tWaterOutAverage", "tWaterOutMin", "tWaterOutMax", "tWaterHouseInAverage", "tWaterHouseInMin", "tWaterHouseInMax", "rpmAverage", "rpmMin", "rpmMax", "rpmLimiterAverage", "rpmLimiterMin", "rpmLimiterMax", "rpmLimiterNoLimit", "rpmLimiterPowerLimit", "rpmLimiterDefrost", "rpmLimiterSilentHours", "rpmLimiterHPControl", "rpmLimiterPressure", "rpmLimiterWaterOut", "rpmLimiterEnvelope", "rpmLimiterHouseIn", "pCompressorInAverage", "pCompressorInMin", "pCompressorInMax", "pCompressorOutAverage", "pCompressorOutMin", "pCompressorOutMax", "pCompressorInTargetAverage", "pCompressorInTargetMin", "pCompressorInTargetMax", "tInverterAverage", "tInverterMin", "tInverterMax", "tCompressorInAverage", "tCompressorInMin", "tCompressorInMax", "tCompressorOutAverage", "tCompressorOutMin", "tCompressorOutMax", "tCompressorInTransientAverage", "tCompressorInTransientMin", "tCompressorInTransientMax", "tCompressorOutTransientAverage", "tCompressorOutTransientMin", "tCompressorOutTransientMax", "deltaTCompressorInSuperheatAverage", "deltaTCompressorInSuperheatMin", "deltaTCompressorInSuperheatMax", "compressorPowerLowAccuracyAverage", "compressorPowerLowAccuracyMin", "compressorPowerLowAccuracyMax", "fanAverage", "fanMin", "fanMax", "fanPowerAverage", "fanPowerMin", "fanPowerMax", "cmMassPowerInAverage", "cmMassPowerOutAverage", "pRequestedAverage", "pRequestedMin", "pRequestedMax", "powerErrorIntegralAverage", "powerErrorIntegralMin", "powerErrorIntegralMax", "thermostatStateOff", "thermostatStateOn", "tRoomAverage", "tRoomMin", "tRoomMax", "tRoomTargetAverage", "tRoomTargetMin", "tRoomTargetMax", "tThermostatSetpointAverage", "tThermostatSetpointMin", "tThermostatSetpointMax", "otBoilerFeedTemperatureAverage", "otBoilerFeedTemperatureMin", "otBoilerFeedTemperatureMax", "otBoilerReturnTemperatureAverage", "otBoilerReturnTemperatureMin", "otBoilerReturnTemperatureMax"]
166
+
167
+ class Config:
168
+ """Pydantic configuration"""
169
+ allow_population_by_field_name = True
170
+ validate_assignment = True
171
+
172
+ def to_str(self) -> str:
173
+ """Returns the string representation of the model using alias"""
174
+ return pprint.pformat(self.dict(by_alias=True))
175
+
176
+ def to_json(self) -> str:
177
+ """Returns the JSON representation of the model using alias"""
178
+ return json.dumps(self.to_dict())
179
+
180
+ @classmethod
181
+ def from_json(cls, json_str: str) -> HeatPumpLogViewDto:
182
+ """Create an instance of HeatPumpLogViewDto from a JSON string"""
183
+ return cls.from_dict(json.loads(json_str))
184
+
185
+ def to_dict(self):
186
+ """Returns the dictionary representation of the model using alias"""
187
+ _dict = self.dict(by_alias=True,
188
+ exclude={
189
+ },
190
+ exclude_none=True)
191
+ # set to None if interval (nullable) is None
192
+ # and __fields_set__ contains the field
193
+ if self.interval is None and "interval" in self.__fields_set__:
194
+ _dict['interval'] = None
195
+
196
+ # set to None if control_bridge_status_dhw_valve (nullable) is None
197
+ # and __fields_set__ contains the field
198
+ if self.control_bridge_status_dhw_valve is None and "control_bridge_status_dhw_valve" in self.__fields_set__:
199
+ _dict['controlBridgeStatusDhwValve'] = None
200
+
201
+ # set to None if dtc_none (nullable) is None
202
+ # and __fields_set__ contains the field
203
+ if self.dtc_none is None and "dtc_none" in self.__fields_set__:
204
+ _dict['dtcNone'] = None
205
+
206
+ # set to None if dtc_continue (nullable) is None
207
+ # and __fields_set__ contains the field
208
+ if self.dtc_continue is None and "dtc_continue" in self.__fields_set__:
209
+ _dict['dtcContinue'] = None
210
+
211
+ # set to None if dtc_compressor_off (nullable) is None
212
+ # and __fields_set__ contains the field
213
+ if self.dtc_compressor_off is None and "dtc_compressor_off" in self.__fields_set__:
214
+ _dict['dtcCompressorOff'] = None
215
+
216
+ # set to None if dtc_defrost_forbidden (nullable) is None
217
+ # and __fields_set__ contains the field
218
+ if self.dtc_defrost_forbidden is None and "dtc_defrost_forbidden" in self.__fields_set__:
219
+ _dict['dtcDefrostForbidden'] = None
220
+
221
+ # set to None if dtc_request_service (nullable) is None
222
+ # and __fields_set__ contains the field
223
+ if self.dtc_request_service is None and "dtc_request_service" in self.__fields_set__:
224
+ _dict['dtcRequestService'] = None
225
+
226
+ # set to None if dtc_use_heating_curve (nullable) is None
227
+ # and __fields_set__ contains the field
228
+ if self.dtc_use_heating_curve is None and "dtc_use_heating_curve" in self.__fields_set__:
229
+ _dict['dtcUseHeatingCurve'] = None
230
+
231
+ # set to None if dtc_dhw_forbidden (nullable) is None
232
+ # and __fields_set__ contains the field
233
+ if self.dtc_dhw_forbidden is None and "dtc_dhw_forbidden" in self.__fields_set__:
234
+ _dict['dtcDhwForbidden'] = None
235
+
236
+ # set to None if dtc_error (nullable) is None
237
+ # and __fields_set__ contains the field
238
+ if self.dtc_error is None and "dtc_error" in self.__fields_set__:
239
+ _dict['dtcError'] = None
240
+
241
+ # set to None if dtc_inactive (nullable) is None
242
+ # and __fields_set__ contains the field
243
+ if self.dtc_inactive is None and "dtc_inactive" in self.__fields_set__:
244
+ _dict['dtcInactive'] = None
245
+
246
+ # set to None if signal_strength_average (nullable) is None
247
+ # and __fields_set__ contains the field
248
+ if self.signal_strength_average is None and "signal_strength_average" in self.__fields_set__:
249
+ _dict['signalStrengthAverage'] = None
250
+
251
+ # set to None if signal_strength_min (nullable) is None
252
+ # and __fields_set__ contains the field
253
+ if self.signal_strength_min is None and "signal_strength_min" in self.__fields_set__:
254
+ _dict['signalStrengthMin'] = None
255
+
256
+ # set to None if signal_strength_max (nullable) is None
257
+ # and __fields_set__ contains the field
258
+ if self.signal_strength_max is None and "signal_strength_max" in self.__fields_set__:
259
+ _dict['signalStrengthMax'] = None
260
+
261
+ # set to None if t1_average (nullable) is None
262
+ # and __fields_set__ contains the field
263
+ if self.t1_average is None and "t1_average" in self.__fields_set__:
264
+ _dict['t1Average'] = None
265
+
266
+ # set to None if t1_min (nullable) is None
267
+ # and __fields_set__ contains the field
268
+ if self.t1_min is None and "t1_min" in self.__fields_set__:
269
+ _dict['t1Min'] = None
270
+
271
+ # set to None if t1_max (nullable) is None
272
+ # and __fields_set__ contains the field
273
+ if self.t1_max is None and "t1_max" in self.__fields_set__:
274
+ _dict['t1Max'] = None
275
+
276
+ # set to None if t2_average (nullable) is None
277
+ # and __fields_set__ contains the field
278
+ if self.t2_average is None and "t2_average" in self.__fields_set__:
279
+ _dict['t2Average'] = None
280
+
281
+ # set to None if t2_min (nullable) is None
282
+ # and __fields_set__ contains the field
283
+ if self.t2_min is None and "t2_min" in self.__fields_set__:
284
+ _dict['t2Min'] = None
285
+
286
+ # set to None if t2_max (nullable) is None
287
+ # and __fields_set__ contains the field
288
+ if self.t2_max is None and "t2_max" in self.__fields_set__:
289
+ _dict['t2Max'] = None
290
+
291
+ # set to None if t_spare_ntc_average (nullable) is None
292
+ # and __fields_set__ contains the field
293
+ if self.t_spare_ntc_average is None and "t_spare_ntc_average" in self.__fields_set__:
294
+ _dict['tSpareNtcAverage'] = None
295
+
296
+ # set to None if t_spare_ntc_min (nullable) is None
297
+ # and __fields_set__ contains the field
298
+ if self.t_spare_ntc_min is None and "t_spare_ntc_min" in self.__fields_set__:
299
+ _dict['tSpareNtcMin'] = None
300
+
301
+ # set to None if t_spare_ntc_max (nullable) is None
302
+ # and __fields_set__ contains the field
303
+ if self.t_spare_ntc_max is None and "t_spare_ntc_max" in self.__fields_set__:
304
+ _dict['tSpareNtcMax'] = None
305
+
306
+ # set to None if t_board_average (nullable) is None
307
+ # and __fields_set__ contains the field
308
+ if self.t_board_average is None and "t_board_average" in self.__fields_set__:
309
+ _dict['tBoardAverage'] = None
310
+
311
+ # set to None if t_board_min (nullable) is None
312
+ # and __fields_set__ contains the field
313
+ if self.t_board_min is None and "t_board_min" in self.__fields_set__:
314
+ _dict['tBoardMin'] = None
315
+
316
+ # set to None if t_board_max (nullable) is None
317
+ # and __fields_set__ contains the field
318
+ if self.t_board_max is None and "t_board_max" in self.__fields_set__:
319
+ _dict['tBoardMax'] = None
320
+
321
+ # set to None if rpm_average (nullable) is None
322
+ # and __fields_set__ contains the field
323
+ if self.rpm_average is None and "rpm_average" in self.__fields_set__:
324
+ _dict['rpmAverage'] = None
325
+
326
+ # set to None if rpm_min (nullable) is None
327
+ # and __fields_set__ contains the field
328
+ if self.rpm_min is None and "rpm_min" in self.__fields_set__:
329
+ _dict['rpmMin'] = None
330
+
331
+ # set to None if rpm_max (nullable) is None
332
+ # and __fields_set__ contains the field
333
+ if self.rpm_max is None and "rpm_max" in self.__fields_set__:
334
+ _dict['rpmMax'] = None
335
+
336
+ # set to None if rpm_limiter_average (nullable) is None
337
+ # and __fields_set__ contains the field
338
+ if self.rpm_limiter_average is None and "rpm_limiter_average" in self.__fields_set__:
339
+ _dict['rpmLimiterAverage'] = None
340
+
341
+ # set to None if rpm_limiter_min (nullable) is None
342
+ # and __fields_set__ contains the field
343
+ if self.rpm_limiter_min is None and "rpm_limiter_min" in self.__fields_set__:
344
+ _dict['rpmLimiterMin'] = None
345
+
346
+ # set to None if rpm_limiter_max (nullable) is None
347
+ # and __fields_set__ contains the field
348
+ if self.rpm_limiter_max is None and "rpm_limiter_max" in self.__fields_set__:
349
+ _dict['rpmLimiterMax'] = None
350
+
351
+ # set to None if rpm_limiter_no_limit (nullable) is None
352
+ # and __fields_set__ contains the field
353
+ if self.rpm_limiter_no_limit is None and "rpm_limiter_no_limit" in self.__fields_set__:
354
+ _dict['rpmLimiterNoLimit'] = None
355
+
356
+ # set to None if rpm_limiter_power_limit (nullable) is None
357
+ # and __fields_set__ contains the field
358
+ if self.rpm_limiter_power_limit is None and "rpm_limiter_power_limit" in self.__fields_set__:
359
+ _dict['rpmLimiterPowerLimit'] = None
360
+
361
+ # set to None if rpm_limiter_defrost (nullable) is None
362
+ # and __fields_set__ contains the field
363
+ if self.rpm_limiter_defrost is None and "rpm_limiter_defrost" in self.__fields_set__:
364
+ _dict['rpmLimiterDefrost'] = None
365
+
366
+ # set to None if rpm_limiter_silent_hours (nullable) is None
367
+ # and __fields_set__ contains the field
368
+ if self.rpm_limiter_silent_hours is None and "rpm_limiter_silent_hours" in self.__fields_set__:
369
+ _dict['rpmLimiterSilentHours'] = None
370
+
371
+ # set to None if rpm_limiter_hp_control (nullable) is None
372
+ # and __fields_set__ contains the field
373
+ if self.rpm_limiter_hp_control is None and "rpm_limiter_hp_control" in self.__fields_set__:
374
+ _dict['rpmLimiterHPControl'] = None
375
+
376
+ # set to None if rpm_limiter_pressure (nullable) is None
377
+ # and __fields_set__ contains the field
378
+ if self.rpm_limiter_pressure is None and "rpm_limiter_pressure" in self.__fields_set__:
379
+ _dict['rpmLimiterPressure'] = None
380
+
381
+ # set to None if rpm_limiter_water_out (nullable) is None
382
+ # and __fields_set__ contains the field
383
+ if self.rpm_limiter_water_out is None and "rpm_limiter_water_out" in self.__fields_set__:
384
+ _dict['rpmLimiterWaterOut'] = None
385
+
386
+ # set to None if rpm_limiter_envelope (nullable) is None
387
+ # and __fields_set__ contains the field
388
+ if self.rpm_limiter_envelope is None and "rpm_limiter_envelope" in self.__fields_set__:
389
+ _dict['rpmLimiterEnvelope'] = None
390
+
391
+ # set to None if rpm_limiter_house_in (nullable) is None
392
+ # and __fields_set__ contains the field
393
+ if self.rpm_limiter_house_in is None and "rpm_limiter_house_in" in self.__fields_set__:
394
+ _dict['rpmLimiterHouseIn'] = None
395
+
396
+ # set to None if p_compressor_in_average (nullable) is None
397
+ # and __fields_set__ contains the field
398
+ if self.p_compressor_in_average is None and "p_compressor_in_average" in self.__fields_set__:
399
+ _dict['pCompressorInAverage'] = None
400
+
401
+ # set to None if p_compressor_in_min (nullable) is None
402
+ # and __fields_set__ contains the field
403
+ if self.p_compressor_in_min is None and "p_compressor_in_min" in self.__fields_set__:
404
+ _dict['pCompressorInMin'] = None
405
+
406
+ # set to None if p_compressor_in_max (nullable) is None
407
+ # and __fields_set__ contains the field
408
+ if self.p_compressor_in_max is None and "p_compressor_in_max" in self.__fields_set__:
409
+ _dict['pCompressorInMax'] = None
410
+
411
+ # set to None if p_compressor_out_average (nullable) is None
412
+ # and __fields_set__ contains the field
413
+ if self.p_compressor_out_average is None and "p_compressor_out_average" in self.__fields_set__:
414
+ _dict['pCompressorOutAverage'] = None
415
+
416
+ # set to None if p_compressor_out_min (nullable) is None
417
+ # and __fields_set__ contains the field
418
+ if self.p_compressor_out_min is None and "p_compressor_out_min" in self.__fields_set__:
419
+ _dict['pCompressorOutMin'] = None
420
+
421
+ # set to None if p_compressor_out_max (nullable) is None
422
+ # and __fields_set__ contains the field
423
+ if self.p_compressor_out_max is None and "p_compressor_out_max" in self.__fields_set__:
424
+ _dict['pCompressorOutMax'] = None
425
+
426
+ # set to None if p_compressor_in_target_average (nullable) is None
427
+ # and __fields_set__ contains the field
428
+ if self.p_compressor_in_target_average is None and "p_compressor_in_target_average" in self.__fields_set__:
429
+ _dict['pCompressorInTargetAverage'] = None
430
+
431
+ # set to None if p_compressor_in_target_min (nullable) is None
432
+ # and __fields_set__ contains the field
433
+ if self.p_compressor_in_target_min is None and "p_compressor_in_target_min" in self.__fields_set__:
434
+ _dict['pCompressorInTargetMin'] = None
435
+
436
+ # set to None if p_compressor_in_target_max (nullable) is None
437
+ # and __fields_set__ contains the field
438
+ if self.p_compressor_in_target_max is None and "p_compressor_in_target_max" in self.__fields_set__:
439
+ _dict['pCompressorInTargetMax'] = None
440
+
441
+ # set to None if t_inverter_average (nullable) is None
442
+ # and __fields_set__ contains the field
443
+ if self.t_inverter_average is None and "t_inverter_average" in self.__fields_set__:
444
+ _dict['tInverterAverage'] = None
445
+
446
+ # set to None if t_inverter_min (nullable) is None
447
+ # and __fields_set__ contains the field
448
+ if self.t_inverter_min is None and "t_inverter_min" in self.__fields_set__:
449
+ _dict['tInverterMin'] = None
450
+
451
+ # set to None if t_inverter_max (nullable) is None
452
+ # and __fields_set__ contains the field
453
+ if self.t_inverter_max is None and "t_inverter_max" in self.__fields_set__:
454
+ _dict['tInverterMax'] = None
455
+
456
+ # set to None if t_compressor_in_average (nullable) is None
457
+ # and __fields_set__ contains the field
458
+ if self.t_compressor_in_average is None and "t_compressor_in_average" in self.__fields_set__:
459
+ _dict['tCompressorInAverage'] = None
460
+
461
+ # set to None if t_compressor_in_min (nullable) is None
462
+ # and __fields_set__ contains the field
463
+ if self.t_compressor_in_min is None and "t_compressor_in_min" in self.__fields_set__:
464
+ _dict['tCompressorInMin'] = None
465
+
466
+ # set to None if t_compressor_in_max (nullable) is None
467
+ # and __fields_set__ contains the field
468
+ if self.t_compressor_in_max is None and "t_compressor_in_max" in self.__fields_set__:
469
+ _dict['tCompressorInMax'] = None
470
+
471
+ # set to None if t_compressor_out_average (nullable) is None
472
+ # and __fields_set__ contains the field
473
+ if self.t_compressor_out_average is None and "t_compressor_out_average" in self.__fields_set__:
474
+ _dict['tCompressorOutAverage'] = None
475
+
476
+ # set to None if t_compressor_out_min (nullable) is None
477
+ # and __fields_set__ contains the field
478
+ if self.t_compressor_out_min is None and "t_compressor_out_min" in self.__fields_set__:
479
+ _dict['tCompressorOutMin'] = None
480
+
481
+ # set to None if t_compressor_out_max (nullable) is None
482
+ # and __fields_set__ contains the field
483
+ if self.t_compressor_out_max is None and "t_compressor_out_max" in self.__fields_set__:
484
+ _dict['tCompressorOutMax'] = None
485
+
486
+ # set to None if t_compressor_in_transient_average (nullable) is None
487
+ # and __fields_set__ contains the field
488
+ if self.t_compressor_in_transient_average is None and "t_compressor_in_transient_average" in self.__fields_set__:
489
+ _dict['tCompressorInTransientAverage'] = None
490
+
491
+ # set to None if t_compressor_in_transient_min (nullable) is None
492
+ # and __fields_set__ contains the field
493
+ if self.t_compressor_in_transient_min is None and "t_compressor_in_transient_min" in self.__fields_set__:
494
+ _dict['tCompressorInTransientMin'] = None
495
+
496
+ # set to None if t_compressor_in_transient_max (nullable) is None
497
+ # and __fields_set__ contains the field
498
+ if self.t_compressor_in_transient_max is None and "t_compressor_in_transient_max" in self.__fields_set__:
499
+ _dict['tCompressorInTransientMax'] = None
500
+
501
+ # set to None if t_compressor_out_transient_average (nullable) is None
502
+ # and __fields_set__ contains the field
503
+ if self.t_compressor_out_transient_average is None and "t_compressor_out_transient_average" in self.__fields_set__:
504
+ _dict['tCompressorOutTransientAverage'] = None
505
+
506
+ # set to None if t_compressor_out_transient_min (nullable) is None
507
+ # and __fields_set__ contains the field
508
+ if self.t_compressor_out_transient_min is None and "t_compressor_out_transient_min" in self.__fields_set__:
509
+ _dict['tCompressorOutTransientMin'] = None
510
+
511
+ # set to None if t_compressor_out_transient_max (nullable) is None
512
+ # and __fields_set__ contains the field
513
+ if self.t_compressor_out_transient_max is None and "t_compressor_out_transient_max" in self.__fields_set__:
514
+ _dict['tCompressorOutTransientMax'] = None
515
+
516
+ # set to None if delta_t_compressor_in_superheat_average (nullable) is None
517
+ # and __fields_set__ contains the field
518
+ if self.delta_t_compressor_in_superheat_average is None and "delta_t_compressor_in_superheat_average" in self.__fields_set__:
519
+ _dict['deltaTCompressorInSuperheatAverage'] = None
520
+
521
+ # set to None if delta_t_compressor_in_superheat_min (nullable) is None
522
+ # and __fields_set__ contains the field
523
+ if self.delta_t_compressor_in_superheat_min is None and "delta_t_compressor_in_superheat_min" in self.__fields_set__:
524
+ _dict['deltaTCompressorInSuperheatMin'] = None
525
+
526
+ # set to None if delta_t_compressor_in_superheat_max (nullable) is None
527
+ # and __fields_set__ contains the field
528
+ if self.delta_t_compressor_in_superheat_max is None and "delta_t_compressor_in_superheat_max" in self.__fields_set__:
529
+ _dict['deltaTCompressorInSuperheatMax'] = None
530
+
531
+ # set to None if compressor_power_low_accuracy_average (nullable) is None
532
+ # and __fields_set__ contains the field
533
+ if self.compressor_power_low_accuracy_average is None and "compressor_power_low_accuracy_average" in self.__fields_set__:
534
+ _dict['compressorPowerLowAccuracyAverage'] = None
535
+
536
+ # set to None if compressor_power_low_accuracy_min (nullable) is None
537
+ # and __fields_set__ contains the field
538
+ if self.compressor_power_low_accuracy_min is None and "compressor_power_low_accuracy_min" in self.__fields_set__:
539
+ _dict['compressorPowerLowAccuracyMin'] = None
540
+
541
+ # set to None if compressor_power_low_accuracy_max (nullable) is None
542
+ # and __fields_set__ contains the field
543
+ if self.compressor_power_low_accuracy_max is None and "compressor_power_low_accuracy_max" in self.__fields_set__:
544
+ _dict['compressorPowerLowAccuracyMax'] = None
545
+
546
+ # set to None if fan_average (nullable) is None
547
+ # and __fields_set__ contains the field
548
+ if self.fan_average is None and "fan_average" in self.__fields_set__:
549
+ _dict['fanAverage'] = None
550
+
551
+ # set to None if fan_min (nullable) is None
552
+ # and __fields_set__ contains the field
553
+ if self.fan_min is None and "fan_min" in self.__fields_set__:
554
+ _dict['fanMin'] = None
555
+
556
+ # set to None if fan_max (nullable) is None
557
+ # and __fields_set__ contains the field
558
+ if self.fan_max is None and "fan_max" in self.__fields_set__:
559
+ _dict['fanMax'] = None
560
+
561
+ # set to None if fan_power_average (nullable) is None
562
+ # and __fields_set__ contains the field
563
+ if self.fan_power_average is None and "fan_power_average" in self.__fields_set__:
564
+ _dict['fanPowerAverage'] = None
565
+
566
+ # set to None if fan_power_min (nullable) is None
567
+ # and __fields_set__ contains the field
568
+ if self.fan_power_min is None and "fan_power_min" in self.__fields_set__:
569
+ _dict['fanPowerMin'] = None
570
+
571
+ # set to None if fan_power_max (nullable) is None
572
+ # and __fields_set__ contains the field
573
+ if self.fan_power_max is None and "fan_power_max" in self.__fields_set__:
574
+ _dict['fanPowerMax'] = None
575
+
576
+ # set to None if cm_mass_power_in_average (nullable) is None
577
+ # and __fields_set__ contains the field
578
+ if self.cm_mass_power_in_average is None and "cm_mass_power_in_average" in self.__fields_set__:
579
+ _dict['cmMassPowerInAverage'] = None
580
+
581
+ # set to None if cm_mass_power_out_average (nullable) is None
582
+ # and __fields_set__ contains the field
583
+ if self.cm_mass_power_out_average is None and "cm_mass_power_out_average" in self.__fields_set__:
584
+ _dict['cmMassPowerOutAverage'] = None
585
+
586
+ # set to None if p_requested_average (nullable) is None
587
+ # and __fields_set__ contains the field
588
+ if self.p_requested_average is None and "p_requested_average" in self.__fields_set__:
589
+ _dict['pRequestedAverage'] = None
590
+
591
+ # set to None if p_requested_min (nullable) is None
592
+ # and __fields_set__ contains the field
593
+ if self.p_requested_min is None and "p_requested_min" in self.__fields_set__:
594
+ _dict['pRequestedMin'] = None
595
+
596
+ # set to None if p_requested_max (nullable) is None
597
+ # and __fields_set__ contains the field
598
+ if self.p_requested_max is None and "p_requested_max" in self.__fields_set__:
599
+ _dict['pRequestedMax'] = None
600
+
601
+ # set to None if power_error_integral_average (nullable) is None
602
+ # and __fields_set__ contains the field
603
+ if self.power_error_integral_average is None and "power_error_integral_average" in self.__fields_set__:
604
+ _dict['powerErrorIntegralAverage'] = None
605
+
606
+ # set to None if power_error_integral_min (nullable) is None
607
+ # and __fields_set__ contains the field
608
+ if self.power_error_integral_min is None and "power_error_integral_min" in self.__fields_set__:
609
+ _dict['powerErrorIntegralMin'] = None
610
+
611
+ # set to None if power_error_integral_max (nullable) is None
612
+ # and __fields_set__ contains the field
613
+ if self.power_error_integral_max is None and "power_error_integral_max" in self.__fields_set__:
614
+ _dict['powerErrorIntegralMax'] = None
615
+
616
+ return _dict
617
+
618
+ @classmethod
619
+ def from_dict(cls, obj: dict) -> HeatPumpLogViewDto:
620
+ """Create an instance of HeatPumpLogViewDto from a dict"""
621
+ if obj is None:
622
+ return None
623
+
624
+ if not isinstance(obj, dict):
625
+ return HeatPumpLogViewDto.parse_obj(obj)
626
+
627
+ _obj = HeatPumpLogViewDto.parse_obj({
628
+ "time_bucket": obj.get("timeBucket"),
629
+ "interval": obj.get("interval"),
630
+ "time_covered_in_interval": obj.get("timeCoveredInInterval"),
631
+ "heat_pump_state_standby": obj.get("heatPumpStateStandby"),
632
+ "heat_pump_state_heating": obj.get("heatPumpStateHeating"),
633
+ "heat_pump_state_defrost_req_active": obj.get("heatPumpStateDefrostReqActive"),
634
+ "heat_pump_state_defrost_open_valve": obj.get("heatPumpStateDefrostOpenValve"),
635
+ "heat_pump_state_defrost_close_valve": obj.get("heatPumpStateDefrostCloseValve"),
636
+ "heat_pump_state_defrost_drip": obj.get("heatPumpStateDefrostDrip"),
637
+ "heat_pump_state_defrost_cooling": obj.get("heatPumpStateDefrostCooling"),
638
+ "heat_pump_state_cooling": obj.get("heatPumpStateCooling"),
639
+ "heat_pump_state_dhw": obj.get("heatPumpStateDHW"),
640
+ "heat_pump_state_legionnaires_disease_prevention": obj.get("heatPumpStateLegionnairesDiseasePrevention"),
641
+ "rpm_control_startup": obj.get("rpmControlStartup"),
642
+ "rpm_control_running": obj.get("rpmControlRunning"),
643
+ "rpm_control_running_abnormally": obj.get("rpmControlRunningAbnormally"),
644
+ "rpm_control_shutdown": obj.get("rpmControlShutdown"),
645
+ "control_bridge_status_water_pump": obj.get("controlBridgeStatusWaterPump"),
646
+ "control_bridge_status_dhw_valve": obj.get("controlBridgeStatusDhwValve"),
647
+ "control_bridge_status_gas_boiler": obj.get("controlBridgeStatusGasBoiler"),
648
+ "control_bridge_status_electric_heater": obj.get("controlBridgeStatusElectricHeater"),
649
+ "control_bridge_status_water_pump2": obj.get("controlBridgeStatusWaterPump2"),
650
+ "dtc_none": obj.get("dtcNone"),
651
+ "dtc_continue": obj.get("dtcContinue"),
652
+ "dtc_compressor_off": obj.get("dtcCompressorOff"),
653
+ "dtc_defrost_forbidden": obj.get("dtcDefrostForbidden"),
654
+ "dtc_request_service": obj.get("dtcRequestService"),
655
+ "dtc_use_heating_curve": obj.get("dtcUseHeatingCurve"),
656
+ "dtc_dhw_forbidden": obj.get("dtcDhwForbidden"),
657
+ "dtc_error": obj.get("dtcError"),
658
+ "dtc_inactive": obj.get("dtcInactive"),
659
+ "signal_strength_average": obj.get("signalStrengthAverage"),
660
+ "signal_strength_min": obj.get("signalStrengthMin"),
661
+ "signal_strength_max": obj.get("signalStrengthMax"),
662
+ "t1_average": obj.get("t1Average"),
663
+ "t1_min": obj.get("t1Min"),
664
+ "t1_max": obj.get("t1Max"),
665
+ "t2_average": obj.get("t2Average"),
666
+ "t2_min": obj.get("t2Min"),
667
+ "t2_max": obj.get("t2Max"),
668
+ "t_spare_ntc_average": obj.get("tSpareNtcAverage"),
669
+ "t_spare_ntc_min": obj.get("tSpareNtcMin"),
670
+ "t_spare_ntc_max": obj.get("tSpareNtcMax"),
671
+ "t_board_average": obj.get("tBoardAverage"),
672
+ "t_board_min": obj.get("tBoardMin"),
673
+ "t_board_max": obj.get("tBoardMax"),
674
+ "t_air_in_average": obj.get("tAirInAverage"),
675
+ "t_air_in_min": obj.get("tAirInMin"),
676
+ "t_air_in_max": obj.get("tAirInMax"),
677
+ "t_air_out_average": obj.get("tAirOutAverage"),
678
+ "t_air_out_min": obj.get("tAirOutMin"),
679
+ "t_air_out_max": obj.get("tAirOutMax"),
680
+ "t_water_in_average": obj.get("tWaterInAverage"),
681
+ "t_water_in_min": obj.get("tWaterInMin"),
682
+ "t_water_in_max": obj.get("tWaterInMax"),
683
+ "t_water_out_average": obj.get("tWaterOutAverage"),
684
+ "t_water_out_min": obj.get("tWaterOutMin"),
685
+ "t_water_out_max": obj.get("tWaterOutMax"),
686
+ "t_water_house_in_average": obj.get("tWaterHouseInAverage"),
687
+ "t_water_house_in_min": obj.get("tWaterHouseInMin"),
688
+ "t_water_house_in_max": obj.get("tWaterHouseInMax"),
689
+ "rpm_average": obj.get("rpmAverage"),
690
+ "rpm_min": obj.get("rpmMin"),
691
+ "rpm_max": obj.get("rpmMax"),
692
+ "rpm_limiter_average": obj.get("rpmLimiterAverage"),
693
+ "rpm_limiter_min": obj.get("rpmLimiterMin"),
694
+ "rpm_limiter_max": obj.get("rpmLimiterMax"),
695
+ "rpm_limiter_no_limit": obj.get("rpmLimiterNoLimit"),
696
+ "rpm_limiter_power_limit": obj.get("rpmLimiterPowerLimit"),
697
+ "rpm_limiter_defrost": obj.get("rpmLimiterDefrost"),
698
+ "rpm_limiter_silent_hours": obj.get("rpmLimiterSilentHours"),
699
+ "rpm_limiter_hp_control": obj.get("rpmLimiterHPControl"),
700
+ "rpm_limiter_pressure": obj.get("rpmLimiterPressure"),
701
+ "rpm_limiter_water_out": obj.get("rpmLimiterWaterOut"),
702
+ "rpm_limiter_envelope": obj.get("rpmLimiterEnvelope"),
703
+ "rpm_limiter_house_in": obj.get("rpmLimiterHouseIn"),
704
+ "p_compressor_in_average": obj.get("pCompressorInAverage"),
705
+ "p_compressor_in_min": obj.get("pCompressorInMin"),
706
+ "p_compressor_in_max": obj.get("pCompressorInMax"),
707
+ "p_compressor_out_average": obj.get("pCompressorOutAverage"),
708
+ "p_compressor_out_min": obj.get("pCompressorOutMin"),
709
+ "p_compressor_out_max": obj.get("pCompressorOutMax"),
710
+ "p_compressor_in_target_average": obj.get("pCompressorInTargetAverage"),
711
+ "p_compressor_in_target_min": obj.get("pCompressorInTargetMin"),
712
+ "p_compressor_in_target_max": obj.get("pCompressorInTargetMax"),
713
+ "t_inverter_average": obj.get("tInverterAverage"),
714
+ "t_inverter_min": obj.get("tInverterMin"),
715
+ "t_inverter_max": obj.get("tInverterMax"),
716
+ "t_compressor_in_average": obj.get("tCompressorInAverage"),
717
+ "t_compressor_in_min": obj.get("tCompressorInMin"),
718
+ "t_compressor_in_max": obj.get("tCompressorInMax"),
719
+ "t_compressor_out_average": obj.get("tCompressorOutAverage"),
720
+ "t_compressor_out_min": obj.get("tCompressorOutMin"),
721
+ "t_compressor_out_max": obj.get("tCompressorOutMax"),
722
+ "t_compressor_in_transient_average": obj.get("tCompressorInTransientAverage"),
723
+ "t_compressor_in_transient_min": obj.get("tCompressorInTransientMin"),
724
+ "t_compressor_in_transient_max": obj.get("tCompressorInTransientMax"),
725
+ "t_compressor_out_transient_average": obj.get("tCompressorOutTransientAverage"),
726
+ "t_compressor_out_transient_min": obj.get("tCompressorOutTransientMin"),
727
+ "t_compressor_out_transient_max": obj.get("tCompressorOutTransientMax"),
728
+ "delta_t_compressor_in_superheat_average": obj.get("deltaTCompressorInSuperheatAverage"),
729
+ "delta_t_compressor_in_superheat_min": obj.get("deltaTCompressorInSuperheatMin"),
730
+ "delta_t_compressor_in_superheat_max": obj.get("deltaTCompressorInSuperheatMax"),
731
+ "compressor_power_low_accuracy_average": obj.get("compressorPowerLowAccuracyAverage"),
732
+ "compressor_power_low_accuracy_min": obj.get("compressorPowerLowAccuracyMin"),
733
+ "compressor_power_low_accuracy_max": obj.get("compressorPowerLowAccuracyMax"),
734
+ "fan_average": obj.get("fanAverage"),
735
+ "fan_min": obj.get("fanMin"),
736
+ "fan_max": obj.get("fanMax"),
737
+ "fan_power_average": obj.get("fanPowerAverage"),
738
+ "fan_power_min": obj.get("fanPowerMin"),
739
+ "fan_power_max": obj.get("fanPowerMax"),
740
+ "cm_mass_power_in_average": obj.get("cmMassPowerInAverage"),
741
+ "cm_mass_power_out_average": obj.get("cmMassPowerOutAverage"),
742
+ "p_requested_average": obj.get("pRequestedAverage"),
743
+ "p_requested_min": obj.get("pRequestedMin"),
744
+ "p_requested_max": obj.get("pRequestedMax"),
745
+ "power_error_integral_average": obj.get("powerErrorIntegralAverage"),
746
+ "power_error_integral_min": obj.get("powerErrorIntegralMin"),
747
+ "power_error_integral_max": obj.get("powerErrorIntegralMax"),
748
+ "thermostat_state_off": obj.get("thermostatStateOff"),
749
+ "thermostat_state_on": obj.get("thermostatStateOn"),
750
+ "t_room_average": obj.get("tRoomAverage"),
751
+ "t_room_min": obj.get("tRoomMin"),
752
+ "t_room_max": obj.get("tRoomMax"),
753
+ "t_room_target_average": obj.get("tRoomTargetAverage"),
754
+ "t_room_target_min": obj.get("tRoomTargetMin"),
755
+ "t_room_target_max": obj.get("tRoomTargetMax"),
756
+ "t_thermostat_setpoint_average": obj.get("tThermostatSetpointAverage"),
757
+ "t_thermostat_setpoint_min": obj.get("tThermostatSetpointMin"),
758
+ "t_thermostat_setpoint_max": obj.get("tThermostatSetpointMax"),
759
+ "ot_boiler_feed_temperature_average": obj.get("otBoilerFeedTemperatureAverage"),
760
+ "ot_boiler_feed_temperature_min": obj.get("otBoilerFeedTemperatureMin"),
761
+ "ot_boiler_feed_temperature_max": obj.get("otBoilerFeedTemperatureMax"),
762
+ "ot_boiler_return_temperature_average": obj.get("otBoilerReturnTemperatureAverage"),
763
+ "ot_boiler_return_temperature_min": obj.get("otBoilerReturnTemperatureMin"),
764
+ "ot_boiler_return_temperature_max": obj.get("otBoilerReturnTemperatureMax")
765
+ })
766
+ return _obj
767
+
768
+