From e439e76e3321a32f59aaf25dfbb573168c62ce5f Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Mon, 3 Jun 2024 20:50:35 +0200 Subject: [PATCH] Migrate incomfort integration to config flow (#33040) --- source/_integrations/incomfort.markdown | 46 ++----------------------- 1 file changed, 2 insertions(+), 44 deletions(-) diff --git a/source/_integrations/incomfort.markdown b/source/_integrations/incomfort.markdown index f6183a1b9ad..a23413b5561 100644 --- a/source/_integrations/incomfort.markdown +++ b/source/_integrations/incomfort.markdown @@ -17,9 +17,7 @@ ha_platforms: - sensor - water_heater ha_integration_type: integration -related: - - docs: /docs/configuration/ - title: Configuration file +ha_config_flow: true --- The `incomfort` {% term integration %} links Home Assistant with your Intergas Lan2RF gateway, including the boiler and any room thermostats attached to it. @@ -38,50 +36,10 @@ In addition, there is a **Sensor** for each of CV pressure, CV temperature, and Any room thermostats (there can be 0, 1 or 2) are represented as **Climate** devices. They will report the thermostat's `temperature` (setpoint, target temperature) and `current_temperature` and the setpoint can be changed. -## Configuration - -To set up this integration, add one of the following to your {% term "`configuration.yaml`" %} file. -{% include integrations/restart_ha_after_config_inclusion.md %} +{% include integrations/config_flow.md %} The hub does not have to be in the same network as HA, but must be reachable via port 80/HTTP. -### Older gateways - -Older gateways do not require user authentication: - -```yaml -# Example configuration.yaml entry, older firmware with no user credentials -incomfort: - host: IP_ADDRESS -``` - -### Newer gateways - -Alternatively, if a **username** & **password** is printed on the back of the gateway: - -```yaml -# Example configuration.yaml entry, newer firmware with user credentials -incomfort: - host: IP_ADDRESS - username: USERNAME - password: PASSWORD -``` - -{% configuration %} -host: - description: The hostname/IP address of the Lan2RF gateway. - required: true - type: string -username: - description: "The username of the Lan2RF gateway, if any. Most likely: `admin`." - required: inclusive - type: string -password: - description: "The password of the Lan2RF gateway, if any. Most likely: `intergas`." - required: inclusive - type: string -{% endconfiguration %} - ## Automation To send an alert if the CV pressure is too low or too high, consider the following example: