|
@@ -313,8 +313,11 @@ async def build_acatva_instructions(params: ACATVAInstructionsRequest) -> ACATVA
|
|
|
temp_sp.diff = temp_sp.temperature_target - temp_sp.realtime_temperature
|
|
|
space_params.append(temp_sp)
|
|
|
|
|
|
- if params.supply_air_temperature > 0:
|
|
|
- supply_air_temperature = params.supply_air_temperature
|
|
|
+ if params.supply_air_temperature == -1:
|
|
|
+ if params.acatah_supply_air_temperature == -1:
|
|
|
+ supply_air_temperature = np.NAN
|
|
|
+ else:
|
|
|
+ supply_air_temperature = params.acatah_supply_air_temperature
|
|
|
else:
|
|
|
supply_air_temperature = params.acatah_supply_air_temperature
|
|
|
|