Skip to content

Conversation

@lackas
Copy link
Contributor

@lackas lackas commented Feb 3, 2026

Summary

Adds methods to retrieve the configured volume flow (m³/h) for each ventilation level:

  • getLevelOneVolumeFlow()
  • getLevelTwoVolumeFlow()
  • getLevelThreeVolumeFlow()
  • getLevelFourVolumeFlow()

These values are exposed in ventilation.levels.levelOne through levelFour and represent the airflow configuration for each level.

Fixes #630

Test plan

  • Added 4 tests using existing VitoairFs300E test data
  • All 17 ventilation tests pass

Add methods to retrieve the configured volume flow (m³/h) for each
ventilation level:
- getLevelOneVolumeFlow()
- getLevelTwoVolumeFlow()
- getLevelThreeVolumeFlow()
- getLevelFourVolumeFlow()

Fixes openviess#630
return int(self.getProperty("ventilation.volumeFlow.current.output")["properties"]["value"]["value"])

@handleNotSupported
def getLevelOneVolumeFlow(self) -> int:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are static values, right? No actual sensor readings. I wonder if this should reflect in the function naming.. e.g getConfiguredLevelTwoVolumeFlow, getLevelTwoTargetVolumeFlow

These are static configuration values, not live sensor readings.
Rename to make that distinction clear.
@lackas
Copy link
Contributor Author

lackas commented Feb 12, 2026

Good point — renamed to getConfiguredLevel*VolumeFlow() to distinguish from the live readings in getSupplyVolumeFlow()/getExhaustVolumeFlow().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Vitovent Airflow

2 participants