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