Skip to content

Document new Airzone MQTT integration #38203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

Noltari
Copy link
Contributor

@Noltari Noltari commented Mar 26, 2025

Proposed change

Document new Airzone MQTT integration.

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

Summary by CodeRabbit

  • Documentation
    • Introduced a new guide for the Airzone MQTT integration with Home Assistant.
    • Provides step-by-step instructions for setting up and configuring Airzone HVAC systems.
    • Details sensor setups for monitoring parameters such as temperature, humidity, HVAC mode, and setpoints.
    • Includes information on configuration flow and removal procedures for the integration.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
@home-assistant home-assistant bot added has-parent This PR has a parent PR in a other repo next This PR goes into the next branch labels Mar 26, 2025
Copy link

netlify bot commented Mar 26, 2025

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit a3c3254
🔍 Latest deploy log https://app.netlify.com/sites/home-assistant-docs/deploys/67fe001a5e5cce000871a0ce
😎 Deploy Preview https://deploy-preview-38203--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

coderabbitai bot commented Mar 26, 2025

📝 Walkthrough

Walkthrough

A new markdown documentation file has been added for the Airzone MQTT integration in Home Assistant. The file provides integration instructions for connecting Home Assistant to Airzone HVAC zoning systems via MQTT. It includes key metadata such as the release version (2025.5), category (Sensor), IoT class (Local Push), and support for configuration flow. The document outlines the architecture with parent and child zones and details the configuration for the MQTT topic as well as the sensor entities for each Airzone thermostat zone.

Changes

File Change Summary
source/_integrations/airzone_mqtt.markdown New markdown file added with integration instructions for Airzone MQTT, including metadata (release version, category, IoT class), configuration details, and sensor definitions.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HA as "Home Assistant"
    participant MQTT as "Airzone MQTT Integration"
    participant Web as "Airzone WebServer"
    participant HVAC as "Airzone HVAC System"

    User->>HA: Configure integration via Airzone Cloud App (MQTT Topic)
    HA->>MQTT: Initialize MQTT connection with topic
    MQTT->>Web: Request sensor data for HVAC zones
    Web->>HVAC: Query HVAC system status
    HVAC-->>Web: Return sensor data (temperature, humidity, etc.)
    Web-->>MQTT: Relay sensor data
    MQTT-->>HA: Update sensor states
Loading

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 676a4d7 and a3c3254.

📒 Files selected for processing (1)
  • source/_integrations/airzone_mqtt.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/airzone_mqtt.markdown

[uncategorized] ~21-~21: Possible missing comma found.
Context: ... there will be a parent zone per HVAC system and there may also be child zones for...

(AI_HYDRA_LEO_MISSING_COMMA)

🔇 Additional comments (2)
source/_integrations/airzone_mqtt.markdown (2)

1-15: Metadata block is well-structured and follows Home Assistant documentation standards.

No issues found with the metadata section.


43-47: Removal instructions are clear and follow standard documentation practices.

No issues found with the removal section.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
source/_integrations/airzone_mqtt.markdown (2)

17-22: Content Description: Enhance Clarity with Punctuation

The integration description is clear and informative. However, in line 21 consider revising the punctuation for improved readability. For example, adding a comma after "per HVAC system" may help clarify the sentence:

"Note that multiple HVAC systems can be connected to the same Airzone WebServer. In this case, there will be a parent zone per HVAC system, and there may also be child zones for each HVAC system."

🧰 Tools
🪛 LanguageTool

[uncategorized] ~21-~21: Possible missing comma found.
Context: ... there will be a parent zone per HVAC system and there may also be child zones for...

(AI_HYDRA_LEO_MISSING_COMMA)


42-42: File Termination: Newline Consistency

Consider ensuring that the file ends with a newline to maintain formatting consistency across the documentation files.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d553cb4 and e11704d.

📒 Files selected for processing (1)
  • source/_integrations/airzone_mqtt.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/airzone_mqtt.markdown

[uncategorized] ~21-~21: Possible missing comma found.
Context: ... there will be a parent zone per HVAC system and there may also be child zones for...

(AI_HYDRA_LEO_MISSING_COMMA)

🔇 Additional comments (4)
source/_integrations/airzone_mqtt.markdown (4)

1-15: Metadata Section: Adherence to Integration Standards

The YAML front matter is well-organized and includes all the required metadata fields: title, description, HA release, category, IoT class, config flow, domain, platforms, codeowners, and integration type. This adheres to Home Assistant's documentation standards.


23-23: Configuration Flow Include

The inclusion directive {% include integrations/config_flow.md %} is correctly used. Please verify that the referenced file exists at the expected location to prevent any broken links in the documentation.


25-28: MQTT Topic Configuration Block

The configuration block for the MQTT Topic is formatted correctly and provides a clear description. No issues are noted in this segment.


30-42: Sensors Table Formatting and Clarity

The markdown table listing the sensor conditions is clear, well-structured, and informative. It successfully communicates the available sensor information for each Airzone zone.

@c0ffeeca7 c0ffeeca7 added the new-integration This PR adds documentation for a new Home Assistant integration label Mar 26, 2025
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
source/_integrations/airzone_mqtt.markdown (1)

17-21: Integration Overview and Readability

The integration description clearly explains the distinction between parent and child zones for HVAC systems. To improve readability, consider adding a comma after “per HVAC system” on line 21. For example:

-In this case, there will be a *parent zone* per HVAC system and there may also be *child zones* for each HVAC system.
+In this case, there will be a *parent zone* per HVAC system, and there may also be *child zones* for each HVAC system.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~21-~21: Possible missing comma found.
Context: ... there will be a parent zone per HVAC system and there may also be child zones for...

(AI_HYDRA_LEO_MISSING_COMMA)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e11704d and 676a4d7.

📒 Files selected for processing (1)
  • source/_integrations/airzone_mqtt.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/airzone_mqtt.markdown

[uncategorized] ~21-~21: Possible missing comma found.
Context: ... there will be a parent zone per HVAC system and there may also be child zones for...

(AI_HYDRA_LEO_MISSING_COMMA)

🔇 Additional comments (4)
source/_integrations/airzone_mqtt.markdown (4)

1-15: Front Matter Metadata Setup

The front matter metadata is comprehensive and aligns with Home Assistant’s documentation standards. All necessary fields such as title, description, ha_release, ha_category, ha_iot_class, ha_config_flow, ha_domain, ha_platforms, ha_codeowners, and ha_integration_type are correctly specified.


23-28: Configuration Block for MQTT Topic

The configuration block utilizing {% configuration_basic %} is well formatted and provides clear instructions regarding the MQTT Topic as configured in the Airzone Cloud app. This is consistent with Home Assistant integration documentation practices.


30-42: Sensors Section Table Formatting

The Sensors section includes an organized table detailing each sensor created for an Airzone Zone. The table columns and descriptions are clear and adhere to the standards for documenting sensor entities.


43-47: Integration Removal Instructions

The removal instructions are succinct and state that no extra steps are required beyond the standard removal process. The inclusion of the removal snippet using {% include integrations/remove_device_service.md %} is in line with existing practices.

A typical Airzone device has a *parent zone* (Master Thermostat) per <abbr title="heating, ventilation, and air conditioning">HVAC</abbr> system, which is the only zone where the HVAC mode can be changed. The rest are *child zones* which can only enable or disable the <abbr title="heating, ventilation, and air conditioning">HVAC</abbr> and adjust the desired temperature on that specific zone.

Note that multiple <abbr title="Heating, ventilation, and air conditioning">HVAC</abbr> systems can be connected to the same Airzone WebServer. In this case, there will be a *parent zone* per HVAC system and there may also be *child zones* for each HVAC system.

Copy link
Contributor

Choose a reason for hiding this comment

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

are there any prerequisites? Anything I need to have ready before installing the integration? set up an app, login credentials?

@c0ffeeca7 c0ffeeca7 marked this pull request as draft April 15, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has-parent This PR has a parent PR in a other repo new-integration This PR adds documentation for a new Home Assistant integration next This PR goes into the next branch
Projects
No open projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants