Skip to content
Projects

bjrnptrsn/climate_group_helper

View on GitHub

About

Climate Group Helper for Home Assistant: Orchestrate single or multiple TRVs, ACs, and heaters. Features a built-in custom Dashboard card, native TRV calibration, window & presence control, schedules, virtual presets, smart sync modes and more...

Productivity & Automation

How these counts are measured

What you can do

  • Unified Control: Change settings on the group, and all member devices update to match. No more managing multiple thermostats individually.
  • Smart State Aggregation: The group calculates the average of member readings to represent the true room state (Mean, Median, Min, or Max).
  • HVAC Strategy: Intelligent logic to determine the group's state (Normal, Off Priority, or Auto).
  • Precision & Rounding: Round target temperatures to device-compatible steps (0.5° or 1°) to ensure compatibility with all hardware.

Measured star growth

in 24h
+1
in 7 days
+10
in 15 days
+18
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Climate Group Helper for Home Assistant

Climate Group Helper for Home Assistant logo

HACS - Home Assistant Community Store Release GitHub stars

🇬🇧 English · 🇩🇪 Deutsch

The advanced logic layer for your Home Assistant climate devices.
Sync, automate, and fix your thermostats — set up entirely in the UI.

🔗 Group devices into one virtual controller.
🌡️ Fix inaccurate sensors with external calibration.
🔄 React to manual changes on members with Mirror, Lock, Master or Adopt Only sync modes.
🪟 Detect open windows to pause heating automatically.
👤 Automate presence using away offsets and temperatures.
📅 Schedule automation via Schedule and Calendar entities.
🎯 Define your own presets that set the whole group at once.
🔥 Boost the temperature for a while, then fall back automatically.
🚧 Isolate single devices from the group while a condition holds.
🧩 Add a heat/cool range or an off mode to devices that lack one, with the Member Template.
➕ Shift the whole group up or down with a single offset.
🎛️ Dashboard card included — shows what the group is doing.

Climate Group Helper card next to its editor

⭐ Like Climate Group Helper? A star on GitHub shows it — and helps others find it.


Why this exists

Managing climate in Home Assistant can be messy: TRVs measure the wrong temperature at the radiator, native groups lack synchronization, and complex automations are hard to maintain.

Climate Group Helper acts as the intelligent "Logic Layer" for your home. It wraps your existing devices into a single controller that handles the "If this, then that" behavior for you automatically.

It works with any climate.* entity — a single thermostat as well as a whole group.

Quick Start

Step Action
1. Install Add via the Marketplace (Home Assistant 2026.11 or newer) or HACS (older versions) and restart Home Assistant.
Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.
2. Add Go to Settings → Devices & Services → Helpers → Create Helper.
3. Setup Give your group a name and select your thermostats (TRVs, ACs, heaters — mix freely).
4. Done! You now have a single entity controlling everything.
Tip: Enable Advanced Features in the options to unlock all features.

Select Climate Group Helper in Home Assistant

Configure Climate Group Helper

Manual installation (without Marketplace or HACS)
  1. Download the latest release.
  2. Copy custom_components/climate_group_helper to your custom_components folder.
  3. Restart Home Assistant.

Table of Contents

Core Concept: The Unified Foundation

The Climate Group Helper provides a robust "Single Source of Truth" for your climate devices. It creates a unified management layer that ensures your devices work together as one cohesive system while maintaining accurate room states.

How the features fit together — who decides what your devices do, what takes priority, and why the group sometimes shows something different from what you set — is explained in HOW_IT_WORKS.md. Ready-made setups for common situations are in EXAMPLES.md.

Simple Mode (Core Capabilities)

These features are active by default and provide a streamlined "Plug & Play" experience:

  • Unified Control: Change settings on the group, and all member devices update to match. No more managing multiple thermostats individually.
  • Smart State Aggregation: The group calculates the average of member readings to represent the true room state (Mean, Median, Min, or Max).
  • HVAC Strategy: Intelligent logic to determine the group's state (Normal, Off Priority, or Auto).
  • Precision & Rounding: Round target temperatures to device-compatible steps (0.5° or 1°) to ensure compatibility with all hardware.

Climate Group Helper Simple Configuration Options Overview


Power User: Advanced Features

Unlock the full potential of your climate system. New groups start in Simple Mode; these specialized features are enabled by toggling Advanced Features in the group's configuration. Toggling back to Simple Mode hides these options and puts the features into hibernation — they stop running functionally, but your configuration remains intact and is restored when you switch back.

Climate Group Helper Advanced Configuration Options Overview

Master Entity

Designate a single climate member as the Reference Point or Leader for the group. It is set in the Members & Modes section and requires Advanced Features — once set, it unlocks additional options in several sections (Sync Mode, Window Control, and Temperature/Humidity averaging).

  • Centralized Target Display: Show the Master's target settings (temperature, humidity) as the group's displayed target, rather than calculated averages across all members. This affects only how the group state is displayed — it does not control or synchronize members (use Sync Mode: Master/Lock for that).
  • Hierarchical Sync (Master/Lock): Enables a "Follow the Leader" sync mode. Changes on the Master are mirrored to all members; changes on other devices are reverted for the selected Sync Attributes, unselected ones are ignored.
  • Intelligent Window Control: If enabled, only manual adjustments on the Master update the target state while windows are open — provided a Sync Mode that adopts device changes is enabled, such as Master/Lock. Changes on other devices remain ignored.

External Sensors

Use multiple external sensors for temperature and humidity to override member readings, and optionally write the values back to TRV calibration targets.

Device Calibration

Write the external sensor value back to your TRVs to fix their internal temperature reading.

  • Modes: Absolute (Standard), Offset (Delta calculation), and Scaled (x100 for Danfoss Ally).
  • Inverted Offset: For devices where a higher offset makes them report a lower temperature, select them under Inverted Offset Targets — the offset is then written with the opposite sign.
  • Heartbeat: Periodically re-sends the calibration value to prevent sensor timeouts on Zigbee devices.
  • Ignore Off Members: Prevents sending calibration updates to TRVs that are currently turned off, preserving battery life on wireless devices.

Advanced Sync Modes

Controls what happens when a member device is changed directly (e.g. via its own app or physical buttons) — not when you control the group itself.

  • Sync Modes

    The behavior of each mode depends on whether the changed attribute under Sync Attributes is selected or not. Think of the two columns as two independent policies the mode applies:

    Sync Mode Attribute selected Attribute not selected
    Disabled Ignore Ignore
    Mirror Mirror ¹ Ignore
    Lock Revert ¹ Ignore
    Mirror/Lock Mirror ¹ Revert ¹
    Master/Lock Master: Mirror · Non-master: Revert ¹ Ignore
    Adopt Only Adopt ² Ignore
    • ¹ With Respect Member Off State (Sync) enabled: members that are manually turned off are left alone and their off is neither mirrored nor reverted.
    • ² Adopt Only updates the group's own settings to match the changed device, but never passes the change on to the other members. A device turned off takes the whole group off only once no other member is still running — regardless of the Respect Member Off State (Sync) option.
  • Sync Attributes

    With Sync Attributes, you can select specific attributes, like HVAC mode, target temperature or preset mode to be included for syncing. The meaning of the selected or unselected attributes depends on the Sync mode:

    Mode Role of Sync Attributes
    Mirror selected attributes are mirrored, unselected attributes are ignored.
    Lock selected attributes are reverted, unselected attributes are ignored.
    Mirror/Lock selected attributes are mirrored, unselected attributes are reverted.
    Master/Lock selected attributes are mirrored from the Master Entity, unselected attributes are ignored. Changes from non-master devices are reverted for the selected attributes; unselected attributes are ignored.
    Adopt Only selected attributes are adopted into the group's settings, unselected attributes are ignored. Nothing is sent to the other members.
  • Respect Member Off State (Sync): When a member is manually turned off, the group neither mirrors that off to others nor forces it back on — the member is simply left alone. The one exception: if it is the last active member, the group accepts the off and its own target switches to off as well.

Window Control

Automatically turn off heating or set a frost-protection temperature when windows or doors are opened, and restore the previous state when they close. While windows are open, manual changes are blocked. Supports binary sensors, input_boolean helpers and cover entities.

  • Room + Zone Sensors: Combines a fast-reacting room sensor with a slow-reacting zone sensor (e.g. for a whole floor). The room is part of the zone: when you use both, the zone sensor must include the room sensor (add the room sensor to your zone group). Otherwise the configured delays no longer apply.
  • Configurable Delays: Set custom reaction times for opening and closing.
  • Window Open Action: Choose between full off or a configurable temperature setpoint.
  • Restore When Window Closes: What closing the window sends. Full Target (default) restores the group's whole target. Only the Changed Setting sends just the mode (Turn Off) or the temperature (Set Temperature) — anything else that changed while the window was open, by you or by the schedule, stays in the group's target until it is sent again.
  • Adopt Manual Changes: What happens to changes made while windows are open. They are never applied right away — the Window Open Action stays in effect until the windows close.
    • Off: Changes are discarded.
    • All: Changes are kept in the group's target; closing the windows applies them with Full Target. Changes made directly on a device are only kept if a Sync Mode that adopts them is enabled.
    • Master Only: (Requires Master Entity) Only changes on the master device are kept — and only if a Sync Mode that adopts them is enabled, such as Master/Lock. Changes made on the group itself are discarded.

Presence Control

Manage climate settings based on room presence. Select one or more triggers (binary_sensor, input_boolean, calendar, device_tracker or person), optionally restricted to specific zones (e.g. to only trigger when someone is actually at 'Home'). Configure delays and fallback actions for when the room becomes empty. The group is considered occupied if any sensor reports presence.

  • Turn Off: Members are turned off while absence is detected (default).
  • Away Offset: Target temperature is reduced by a fixed offset (e.g. −2°C). The offset is applied relative to the group's current target temperature. If a schedule changes during absence, the offset is automatically reapplied to the new scheduled value.
  • Away Temperature (Fixed): Members are set to a fixed absolute temperature.
  • Away Temperature (Limit): The away temperature works as a limit. While the devices heat, it is only used if it is below the current target, and while they cool only if it is above — a lower night target stays as it is. Otherwise it is set as usual.
  • Away Preset: A preset mode is sent to members that support it.

When presence returns, the group restores all members to the current target state. Priority order: the Main Switch always wins over Window Control, which in turn always wins over Presence Control.

  • Respect Member Off State (Presence): Devices you switched off yourself are left alone — when everyone leaves, when you return, or both, whichever you pick. This does not apply when the away action is Turn Off: there the group switched the devices off itself, so it turns them all back on when you return.

Schedule Automation

Integrate native HA schedule or calendar helpers to automate your climate settings per time slot. You can set temperature and HVAC mode directly in the schedule's data, and the group intelligently handles transitions: if a schedule change occurs while Window Control is active (e.g. heating is paused), the new target is applied immediately once everything is closed (with Full Target, the default for what a closing window restores).

Schedules can be switched on the fly via service (e.g. for "Vacation" or "Guest" modes). Calling the service without an entity resets to the configured default and re-applies the current slot.

  • Calendar support: calendar.* entities work the same as schedule.* entities. Slot data is read from each event's Description field using the same key: value YAML format as schedule Additional data. See Schedule Configuration & Meta-Keys for details.
  • Bypass Layer: A second schedule.* or calendar.* entity can act as a priority layer on top of your main schedule. When a bypass slot is active, its attributes override the main slot (bypass wins on conflicts).
  • Inactive Schedule Fallback: An optional state (e.g. night setback or turning off) that stands in for the main schedule outside its active slots — no need for gapless 24/7 schedules. The bypass layer keeps working as usual and overrides it while active.
  • Retain Changes Made via Service (Schedule): Ensures that the main schedule, bypass entity, fallback state and manual hold duration — when changed via service — survive a Home Assistant restart. If disabled, the group always reverts to its configured defaults after a restart.
  • Respect Member Off State (Schedule): Members that are manually turned off are skipped during scheduled changes — they are not forced back on.
  • Manual Hold: A manual change to the group — any setting, also one the Sync Mode adopts from a device — holds for a configurable duration, after which the schedule resumes with the slot that is current then. A duration of 0 disables the hold — your change then stays until the next slot starts. Resetting the schedule with the reset service ends a running hold early. The duration can also be changed at runtime via service.

Note — turning off outside active slots: to shut the group down in the inactive period, set hvac_mode: off in the fallback. Do not use the turn_off meta-key here — it is a one-shot trigger for the Main Switch block that stays active until a slot explicitly releases it with turn_off: false, so a turn_off: true fallback would keep the next heating slot blocked.

Schedule Configuration & Meta-Keys

Using a Schedule Helper

  1. Create a Schedule Helper in Home Assistant (Settings > Devices & Services > Helpers).
  2. Open the schedule and add your time slots.
  3. Crucial: Each slot needs additional data to tell the group what to do.
    • Click on a time block to edit it.
    • Expand Advanced settings.
    • Enter your desired state in the Additional data field.

Example (Additional data for a single slot):

hvac_mode: heat
temperature: 21.5

Using a Calendar Entity

Any calendar.* entity works — including calendars imported via integrations like Google Calendar, Apple Calendar, or Nextcloud. Slot data is read from each event's Description field.

[!IMPORTANT] The Description field must contain only valid YAML. Any other text (e.g. a plain-text event description) will cause the event to be skipped. Keep the description field exclusively for the slot data.

Example (Calendar event description):

hvac_mode: heat
temperature: 21.5

You can use any climate attribute or meta-key in both schedule and calendar slots — the format is identical.

You can omit attributes you don't need — for example, use only hvac_mode: off for a slot that turns heating off.

Supported climate attributes:

Attribute Example value Notes
hvac_mode heat, cool, off Depends on your devices
temperature 21.5 Single setpoint
target_temp_low 19.0 Lower bound (dual setpoint)
target_temp_high 24.0 Upper bound (dual setpoint)
humidity 50 Target humidity (%)
preset_mode eco, comfort Device-specific, or a Group Preset
fan_mode auto, high Device-specific
swing_mode on, off Device-specific
swing_horizontal_mode on, off Device-specific

Schedule Meta-Keys — these control the group itself rather than its members, and are active for the entire duration of the slot:

Key Possible values Example Effect
group_offset Float −5.0 … 5.0 group_offset: 1.5 Temporarily sets the Group Offset for the slot duration. If you move the offset slider manually while this slot is active, your value takes over and the slot-end reset is skipped.
sync_mode disabled, lock, mirror, mirror_lock, master_lock, adopt_only sync_mode: disabled Temporarily overrides the configured Sync Mode for the slot duration. Useful for slots where you want members to be left alone (e.g. a "sleep" slot where manual adjustments are allowed).
sync_attributes Any subset of: hvac_mode, temperature, target_temp_low, target_temp_high, humidity, fan_mode, preset_mode, swing_mode, swing_horizontal_mode sync_attributes: [hvac_mode] Temporarily overrides which Sync Attributes are synchronized for the slot duration. Useful for slots where you want to sync only the mode but let members manage their own temperature. Restores to the configured Sync Attributes setting when the slot ends.
turn_off true / false turn_off: true Explicit two-state trigger: true blocks the group with the configured Main Switch Action (equivalent to toggling the Main Switch off). false restores all members (equivalent to toggling the Main Switch back on). A slot without turn_off has no effect on the current state. The Main Switch and this meta-key are equal, interchangeable controls for the same block — whichever acts last wins, so you can always turn the Main Switch back on in the UI, even while a turn_off: true slot is active, and a later turn_off: false slot will likewise release a block you set manually via the Main Switch.
window_mode disabled window_mode: disabled Pauses Window Control for the slot duration — an open window no longer switches the heating off. If a window is already open when the slot starts, the heating comes back on.
presence_mode disabled, away presence_mode: disabled Pauses Presence Control for the slot duration. disabled keeps the heating running regardless of what the sensors report (guests, pre-heating); away forces the away behaviour for the whole slot, again regardless of the sensors (holidays).
calibration_mode disabled calibration_mode: disabled Pauses Calibration for the slot duration — no calibration values are written to the devices. At the slot end the current value is written once, so the devices are up to date again.
isolation_bypass all, a rule number, or a list of them isolation_bypass: 2 Pauses the named Member Isolation rules for the slot duration, so their devices heat along. Rules are numbered by their position in the settings (1–4); all pauses every rule. A device covered by two rules stays off as long as the rule you did not pause still applies.

The last four keys pause a feature; they never switch one on. A feature that is switched off in the settings has nothing running for a slot to take over, so none of them takes a value that switches something on: window_mode, presence_mode and calibration_mode accept disabled — plus away, which forces the away behaviour rather than creating anything — and isolation_bypass names the rules to pause. When a slot ends, the sensors are read fresh and take over again in both directions: a window still open switches the heating back off, a room still empty starts the away behaviour.

Example — night slot that turns everything off:

turn_off: true

Example — comfort slot that boosts all rooms by 1.5 °C above the preset setpoint and allows local adjustments:

preset_mode: comfort
group_offset: 1.5
sync_mode: disabled

The group normally runs in Lock mode. During this slot, sync_mode: disabled lets occupants tweak their own device without being reverted — useful when comfort preferences vary.

Inactive Schedule Fallback

Configure an optional fallback state in YAML under the group's Schedule Automation settings (Fallback State for Inactive Main Schedule / Calendar (YAML)). This state applies whenever the schedule is off or no calendar event is active, without requiring gapless 24/7 schedules. It uses the same format as a slot.

Example (Inactive Schedule Fallback — e.g. night setback):

hvac_mode: heat
temperature: 17.0

To shut the group down outside the active slots, set hvac_mode: off here — not the turn_off meta-key. Only an explicit turn_off: false releases that block, and the fallback has no slot following it to do so, leaving the next heating slot blocked.

Device Presets

A preset the devices offer themselves (such as eco or away) is passed on to the devices that know it, and each runs its own temperature for it — devices set differently run different temperatures. For one temperature on every device, use a group preset with the same name.

  • While a device preset runs, the group does not send its target temperature to the devices in it. Devices without the preset keep the group's temperature.
  • Setting a temperature on the group ends the preset; "None" brings the group's temperature back.
  • Presets that stand for presence or manual control, such as Tado's "Home" and "Away" or "Manual", are better not chosen through the group.

Group Presets

Define your own named presets for the group — e.g. eco, guest, or ventilate — each mapping to a set of climate attributes (target temperature, HVAC mode, fan mode, swing mode) in YAML. Selecting one of these presets applies its attributes to the group and all members at once, the same way changing the temperature or HVAC mode directly would. This is a lightweight alternative to the Master Preset Pattern for groups that don't need a dedicated master entity.

Presets can be defined in two places. Config presets are entered in the group's settings and stay as they are until you edit them there. Runtime presets are set by the climate_group_helper.set_group_preset service — from an automation or a script — and can be changed at any time without touching the settings. Both use the same YAML format shown below; how the two work together is covered at the end of this section.

Example (Group Presets configuration):

eco:
  temperature: 17.0
  hvac_mode: heat
comfort:
  temperature: 21.0
  hvac_mode: heat
ventilate:
  hvac_mode: off
  • Takes priority over device presets, in both directions: If a group preset shares a name with a preset a member device offers natively (e.g. both are called eco, as above), the group's own definition is used and the device's version is never sent. If a device switches to that preset on its own, the group switches to its group preset. The settings page warns you about a shared name.
  • Leaves the group as soon as you deviate: Changing an attribute the active preset defines — on the group, via schedule, or by adjusting a member directly under Mirror sync — returns the group to its normal, un-presetted state. Adjusting an attribute the preset doesn't touch leaves it active.

Presets can pause automatic features too. A preset may carry the same pause keys a schedule slot can (window_mode, presence_mode, calibration_mode, isolation_bypass, plus sync_mode, sync_attributes and group_offset — see the schedule meta-key table above). They apply while the preset is selected and are released when you leave it:

party:
  temperature: 21.5
  window_mode: disabled     # the terrace door may stand open
  presence_mode: disabled   # heating stays on regardless of the sensors
wellness:
  temperature: 23.0
  isolation_bypass: 2       # let the second isolation rule's device heat along
  • A preset may consist of pause keys alone — a "ventilate" preset that only stops the window control from switching the heating off is a valid definition.
  • When a schedule slot and a preset want the same thing, the preset wins, and the slot's value comes back as soon as you leave the preset. This holds in both directions: a slot ending does not cancel what the preset asked for.
  • turn_off is the one key presets cannot use — presets set temperatures and modes; the Main Switch stays under your control and the schedule's.

Config and runtime presets together. The group offers the presets from both places in one list, and once selected, a preset behaves the same wherever it was defined. Each place keeps its own presets, though. The settings page shows only the config presets. The service changes only runtime presets and never touches the config presets. The runtime presets currently set are listed in the group's runtime_group_presets attribute.

If both places define a preset with the same name, the runtime preset takes its place. For example, the settings define comfort at 21 °C, and a service call sets comfort to 22 °C: selecting comfort now applies 22 °C (if it is already selected, the group switches right away), while the settings page still shows 21 °C. Removing comfort via the service brings back the 21 °C from the settings — again right away if it is selected.

  • Restart: runtime presets are kept across a Home Assistant restart only with Retain Changes Made via Service (Presets) enabled. Without it, the group starts with its config presets alone.
  • Reset: climate_group_helper.reset with presets removes all runtime presets at once and leaves the config presets as they are.

Member Offsets

Apply permanent individual offsets (±20°C) to each group member to account for physical room differences. The group intelligently handles these offsets during averaging and synchronization: for example, if the group is set to 21°C, a bedroom with a −1°C offset receives 20°C while the living room (+0.5°C) receives 21.5°C. Your logical setting remains a consistent 21°C across all group interfaces.

  • Correct Member Offset: Subtracts member offsets before averaging to show the room's logical setpoint instead of the raw physical temperature average.

Member Isolation

Temporarily isolate specific members from the group using sensors or state triggers. While isolation is active, these devices are excluded from all group calculations and synchronization — as if they were not members of the group. At least one member must always remain active to ensure the group stays operational.

You can define up to 4 independent isolation rules per group, each with its own trigger, member list, delays, and isolation action — useful for rooms with mixed device types. For example, a room with both a radiator (heat-only) and an AC (heat/cool) can use one rule to isolate the AC when the group switches to heat, and a second rule to isolate the radiator when it switches to cool. Each rule's isolation action controls what command is sent to the member when isolation activates — either an HVAC mode (default: off) or a preset mode for devices that require a specific standby state.

  • Binary Sensor: Isolation activates when a binary sensor (e.g. curtain sensor, occupancy helper) turns on.
  • HVAC Mode: Isolation activates when the group's target mode matches a configured set (e.g. isolate radiators when switching to cool).
  • Member Off: Automatically isolates individual members when they are turned off manually. Restoration occurs as soon as the device is turned back on.
  • Configurable Delays: Set custom reaction times for activation and restoration (Sensor and HVAC Mode triggers only).
  • Isolation Action: Choose what command to send when a member is isolated. Default is to set the HVAC mode to off. For devices without a real off mode (e.g. KNX floor heating), use Set preset mode to set a safe standby preset (e.g. building_protection) instead.

Member Template

A Member Template wraps individual group members with a virtual capability profile that differs from what their Home Assistant integration natively reports. From the group's perspective — and from all features built on top of it (Sync Mode, Schedule, Calibration, etc.) — the wrapped member looks and behaves like a device with a different set of capabilities. The physical device itself is unaffected.

Range Template

Translates outgoing heat_cool range commands into single-setpoint commands for members whose HA integration only exposes a single temperature attribute, even though the underlying device physically supports auto-changeover. The group exposes target_temp_low and target_temp_high; each wrapped member receives a physical single-setpoint command based on the current room temperature:

  • Temperature below target_temp_low → send heat + low setpoint

  • Temperature above target_temp_high → send cool + high setpoint

  • Temperature within the band → send the configured Deadband Action

  • Deadband Action: What to do when the room is already within the target band: None (default), Turn Off, or Fan Only.

  • Dehumidify in Deadband: When enabled, the group can automatically switch devices to Dry (or Fan Only) while inside the temperature deadband if current humidity exceeds the target humidity. Activation is immediate; a Schmitt-trigger hysteresis and a configurable deactivation delay prevent short cycling. Temperature heating and cooling always take priority when the room leaves the deadband. A humidity reading is required — either from a member that reports one or from a humidity sensor added to the group; without one, the group offers no target humidity to set.

  • Automatic member detection: All members that do not natively advertise heat_cool are automatically covered — no manual selection needed. Members with native heat_cool support are left unchanged. This also enables heat_cool mode for groups consisting entirely of heat-only and cool-only devices, with no native heat_cool device required.

  • Conditional Heat/Cool: Optionally, the group offers Heat/Cool and the range control only while at least one reachable member can heat and one can cool — useful when a seasonal cooling device is offline.

  • Covered devices follow the group: A mode or setpoint changed by hand on a covered device is set back to what the range calls for, regardless of the Sync Mode — to change it, change the group's range.

Off Template

Some heaters — many radiator thermostats among them — have no off mode at all. On their own they ignore every "off" from the group and keep heating: when you turn the group off, under the Main Switch, with an open window, during absence or in a schedule slot set to off. With the Off Template (Enable Off Template), the group turns such a heater off by setting it to heat at its own minimum temperature — also from auto, fan or dry.

  • Minimum temperature counts as off. A heater standing on heat at its minimum temperature is shown and treated as off, no matter how it got there. A schedule slot for frost protection at the minimum temperature, or a window or away temperature that low, turns it "off" as well: the group then shows off, and the options that leave switched-off devices alone apply to it. This does not apply while the group runs in Heat/Cool through the Range Template.
  • High minimum temperatures: on a device with a high minimum temperature (floor heating, for example), "off" means holding that minimum temperature.
  • Changes while off: a temperature set while the group is off is kept and arrives when the group is turned back on — sending it right away would wake the heater.
  • Temperature display: if switched-off devices are left out of the group's temperature, this applies to these heaters too (not in Heat/Cool through the Range Template).
  • Heaters only: devices that can cool are not covered. Devices that have an off mode are switched off as usual — for them, Minimum Temperature when Off is the matching option.
  • Offering Off: the group offers Off only when at least one of its devices can turn off. A group made up only of heaters without an off mode offers it once this option is enabled.

Management Entities (Switch & Slider)

Alongside the main climate entity, the integration creates additional helper entities to provide direct control points for your dashboards and automations.

Main Switch

A dedicated switch entity acts as a master toggle for the entire group. Use it for summer months, extended absences, frost protection, or whenever you want to hand a room over to manual control at the thermostats without touching your schedules or target settings. While the switch is off, all group automation stands still — schedule, window and presence control, sync, boost and isolation rules are all paused, and commands to the group itself are not applied (turning it off still gets through).

What the devices get while the switch is off is set by Main Switch Action (Advanced Settings):

  • Turn Off (default): all members are turned off and kept off.

  • Set Temperature: all members get a fixed setpoint (Main Switch Temperature), e.g. for frost protection, and keep it. Only the setpoint changes, not the mode: a device that is off usually stays off, and a device that is cooling would cool to this value — so this option is meant for heating groups. Devices that only have a temperature range instead of a single setpoint are not reached.

  • Release Devices: hands the devices over to manual control — the group sends nothing and leaves them alone, so you operate them directly by hand as if they were not grouped. Sensor calibration keeps running, and turning the group itself off still reaches all members.

  • Switch OFF: Applies the action above, aborts any active boost and lifts all device isolations. Isolation rules do not act while the switch is off. The group remains blocked until the switch is turned back on.

  • Switch ON: Releases the block and restores all members to the group's current target state — including the schedule slot that is current at that moment. Isolation rules then decide anew.

  • Restart: the switch state survives a Home Assistant restart; the schedule does not touch the devices while the group starts up.

Group Offset

A dedicated number entity allows you to apply a global temperature shift (±5.0°C) to all group members. Use it to temporarily adjust the room's comfort level without modifying your underlying schedule or target settings. The offset acts as a non-destructive layer: a +1.5°C offset shifts a 20°C morning setpoint to 21.5°C and automatically follows a schedule transition to 23.5°C in the evening.

  • Auto-reset: Setting a temperature directly on the group (via UI or service) resets the offset to 0 automatically. Selecting a group preset does not: like a schedule slot, its temperature is shifted by the offset.
  • Persistence: The offset value survives Home Assistant restarts.

Dashboard Card

The integration ships its own dashboard card. Add it like any other card — it appears in the card picker as Climate Group Helper Card, and under By entity it is suggested for every group. It needs no extra resource entry or separate repository.

Each part can be shown or hidden in the card editor:

  • Header
    • Name — the group's name or your own
    • Main switch
    • History, Settings and More info buttons
  • Controls
    • Slider with −/+ buttons and a view switch between temperature, humidity and group offset
    • Feature tiles — mode, preset, fan and swing
    • Boost button — starts a boost with a set temperature and duration; the next tap ends it.
    • Reset button — resets temporary changes, such as a manual change against the schedule, a boost or the offset.
  • Status area
    • Panel — what blocks the group or where its target comes from, the schedule, the members and the weakest battery. Tap the member dots or the battery for the list of devices, with each device's battery. "Service" marks a schedule set by a service call. The deviations badge opens the deviations over the card.
    • Badges — one per feature: lit while it acts, faded with a pause sign while a schedule slot or preset pauses it.
    • Deviations — isolated, out-of-bounds or unreachable devices, sensors the group cannot read, low batteries and settings the devices disagree on.
  • Demo mode — the card with made-up data, without a group.

Developer guide: the card's source code and a guide for building your own card or changing this one are in the repository.

What the Group Reports About Itself

Beyond the usual climate values, the group publishes its own state as attributes — what it currently intends, why it is or isn't acting, and where its devices stand. You can read them in the more-info dialog under Attributes, show them on a dashboard, or branch on them in an automation.

Most are self-explanatory. The ones worth knowing about, grouped by the question they answer.

Which devices disagree

Two radiators in the living room, one set to 21° and the other to 23°: the group shows the average as its target temperature, and nothing about that number reveals that the devices have drifted apart. member_divergence lists exactly that — per setting, which device is on which value:

member_divergence:
  temperature:
    climate.living_left: 21.0
    climate.living_right: 23.0

When everything agrees, it is empty. Two details make it trustworthy:

  • Isolated and offline devices are left out. An isolated device is meant to differ — counting it would report a disagreement for as long as the isolation lasts.
  • Member offsets are accounted for. With offsets configured, the comparison happens on the logical setting while the listed values stay the real ones on the devices. Two thermostats at +1 and −1 therefore count as agreeing — that difference is what you asked for.

Around it, the group lists its devices:

  • member_entities — all member devices, always present. With Expose Member List turned on, the same list also appears as entity_id, which lets the more-info dialog show the members.
  • member_offsets — the per-device temperature offsets you configured, only those other than 0. It explains why a device runs on a different setpoint than the group. Absent when there are none.
  • current_hvac_modes — the modes of the devices the group currently counts, without isolated and offline ones.

Why the group isn't doing what you expect

  • blocking_sources — present whenever something is holding the group back, listing what: window, presence, switch. While one of these is listed, the group doesn't push changes to its devices. Absent when nothing blocks.
  • blocking_reason — of everything listed there, the one currently in charge, and since when (source and since): the Main Switch outranks a window, a window outranks Presence Control. After a Home Assistant restart the time counts from the restart. Absent when nothing blocks.
  • main_switch_entity_id — the group's Main Switch, so a dashboard or automation can find it without guessing its name.
  • main_switch_action — what the Main Switch does while it is off: off, temperature or release. Present together with main_switch_entity_id.
  • isolated_members — devices an isolation rule currently excludes. They keep their own state and are left out of the group's readings.
  • oob_members — devices whose own temperature range the group target lies outside of.
  • master_entity_id — which device is currently set as the group's Master Entity. Present only when one is configured.
  • master_fallback_active — the configured master entity is unavailable and the group is aggregating without it.
  • unavailable_sensors — the sensors the group cannot read: missing, unknown or unavailable. Absent when all of them can be read.

What the group intends, and where it came from

  • target_state — the settings the group is holding for its devices. This is what a window closing (with Full Target) or an isolation ending restores to, and it survives restarts.
  • last_source, last_entity, last_changed — what last changed the target state: a schedule, a direct command, a device under Mirror sync — and when.
  • last_active_hvac_mode — the last non-off mode. Used to wake devices when a boost starts on a group that is off.
  • active_member_count / total_member_count — how many devices are actually running, out of how many are configured.
  • group_offset — the current Group Offset, always present, also at 0. The devices run on the group's setpoint plus this offset.
  • offset_entity_id — the Group Offset slider entity, so a dashboard can find it. Present when the slider exists.

What is currently in effect

  • enabled_features — which features are configured at all (window, presence, schedule, sync, isolation, range_template, calibration, master), so a dashboard can tell "off" from "not set up".
  • effective_sync_mode / effective_sync_attributes — the sync settings in force right now, including a schedule slot's or preset's temporary override — not necessarily what the settings page shows.
  • config_overrides — the pause keys a slot or preset currently applies.
  • active_schedule_entity / active_schedule_bypass_entity — the schedule or calendar and the bypass calendar the group is following right now.
  • schedule_entity_overridden / schedule_bypass_entity_overridden — present while a service call has replaced the configured schedule or bypass entity.
  • active_schedule_layer — where the current slot comes from: main, bypass, fallback or none.
  • schedule_fallback_payload_active — the fallback applies because the schedule has no active slot.
  • active_schedule_slot_title — the title of the running calendar event, when a calendar drives the schedule.
  • active_virtual_preset — the group preset in effect, if any.
  • runtime_group_presets — the runtime presets currently set via service, with their values. Absent when there are none.
  • boost_temperature / boost_until — setpoint and end time of a running boost.
  • schedule_hold_until — when a manual change stops holding and the schedule takes over again. Absent when nothing is holding.
  • schedule_hold_duration — the manual hold duration in minutes, when it was set via service. Absent while the duration from the group's settings applies.

Configuration Options

Members & Group Behavior

Option Description
Master Entity Designate one member as the group's Leader. Enables Master/Lock sync mode, Master-aware window tracking, and centralized temperature/humidity target display.
HVAC Mode Strategy How the group reports its combined mode. See table below.
Feature Strategy Which features the group exposes. See table below.
Out-of-Bounds Action (Union only) What to do when a target temperature is outside a member's range.
Unsupported HVAC Mode Action (Union only) What to do with members that don't support the requested mode.

HVAC Mode Strategy

Strategy Behavior
Normal Group shows most common mode. Only off when all are off.
Off Priority Group shows off if any device is off.
Auto Based on the group's target mode: acts like Normal while the target is off (group only shows off once every member is off), and like Off Priority while the target is an active mode (group only shows that mode once every member has left off). Useful for external automations that need the group's reported mode to confirm a command has fully landed on every member before considering it done.

Feature Strategy

Strategy Behavior
Intersection Features (e.g. Fan) supported by all devices. Safe mode. Temperature range is the narrowest common window across all members.
Union Features supported by any device. Temperature range spans the full range across all members (widest min/max). When a target temperature falls outside a member's supported range, the configured Out-of-Bounds Action applies.

Out-of-Bounds Action (Union only)

Action Behavior
Turn Off (Default) Member is turned off when the target temperature is outside its supported range. Restored automatically when the target moves back in range.
Clamp to Limit Member is set to its nearest supported limit (min_temp or max_temp).

Unsupported HVAC Mode Action (Union only)

Action Behavior
Ignore (Default) Member stays in its current mode if it doesn't support the target mode. Exception: while the group is on Auto, heaters without their own Auto mode run in Heat and follow the group's temperature.
Turn Off Member is turned off when it doesn't support the target mode (e.g. AC when heating).

Temperature & Humidity Settings

Option Description
External Temperature Sensors / External Humidity Sensors Select one or more sensors to override member readings.
Use Master Target Temperature / Use Master Target Humidity (Requires Master Entity) Display the Master's target value as the group's target instead of the member average. Falls back to averaging if the master is unavailable. Display-only — this option does not control or synchronize members (use Sync Mode: Master/Lock for that).
Target Temperature / Current Temperature (and the same for humidity) How member values are combined: Mean, Median, Min, or Max — separately for the current and the target value.
Target Temperature Precision / Target Humidity Precision Round target values sent to devices (e.g. 0.5° or 1°).
Write External Temp to Entities / Write External Humidity to Entities Write the calculated value to number entities.
Calibration Mode How the value is sent: Absolute (Standard), Offset (Delta), or Scaled (x100).
Inverted Offset Targets (Offset mode only) Select the devices that work the opposite way — a higher offset makes them report a lower temperature. The list offers the devices already saved under Write External Temp to Entities, so save those first.
Calibration Heartbeat Periodically re-send calibration values (in minutes). Helps prevent timeouts on devices that expect frequent updates.
Ignore Off Members Prevents sending calibration updates to devices that are currently off, preserving battery life on wireless sensors and TRVs.
Exclude Off Members from Temperature Exclude members that are currently off from temperature calculations (both current and target). Prevents a cold, switched-off radiator from dragging down the displayed average.
Minimum Temperature when Off Enforce a minimum temperature (e.g. 5°C) even when the group is off. This ensures valves are fully closed for frost protection (essential for TRVs that don't close fully in off mode). For devices without an off mode, see Off Template.

In Offset mode, each entity you write to is matched automatically — through the Home Assistant device registry — to the group member on the same device, so the offset is calculated against that device's own reading (without a match, the group's average is used).

Sync Mode

Option Description
Sync Mode What to do when a member is changed outside the group. Disabled: ignore everything. Mirror: mirror changes. Lock: revert changes. Mirror/Lock: mirror selected attributes, revert unselected attributes. Master/Lock (requires Master Entity): mirror changes from the Master Entity only, revert changes from non-master entities. Adopt Only: update the group to match the changed device, without touching the others.
Sync Attributes Which attributes the mode acts on. In Mirror: only selected attributes are mirrored, unselected = no action. In Lock: only selected attributes are reverted, unselected = no action. In Mirror/Lock: selected attributes are mirrored, unselected attributes are reverted. In Master/Lock: only the Master Entity's attributes are mirrored, unselected = no action. In Adopt Only: only selected attributes are adopted into the group, unselected = no action.
Respect Member Off State (Sync) Members that are manually turned off are left alone. Their off state is neither mirrored to others nor reverted back to the group target. Exception: if it is the last active member, the group itself switches to off (Last Man Standing). Direct group commands always reach all members regardless of this setting.

Window Control

Option Description
Window Control Mode Disabled (default) or Enabled.
Window Open Action Turn Off (Default) or Set Temperature. Useful for frost protection.
Restore When Window Closes What closing the window sends: Full Target (default) or Only the Changed Setting (just the mode or the temperature the Window Open Action changed).
Adopt Manual Changes What happens to changes made while windows are open: Off (discard), All (keep; applied at close with Full Target), or Master Only (requires Master Entity).
Window Open Temperature Target temperature to set when 'Set Temperature' action is selected.
Room Window Sensor (Optional) Binary sensor (window/door), input_boolean or cover entity for fast reaction. Covers count as open in open/opening/closing. For every sensor type, unknown/unavailable keep the last known state.
Zone Window Sensor (Optional) Binary sensor, input_boolean or cover entity for slow reaction (e.g. apartment or floor). Must include the Room Window Sensor when both are used.
Room Open Delay / Zone Open Delay Time before turning off heating (default: 15s / 5min).
Close Delay Time before restoring heating after windows close (default: 30s).

Presence Control

Option Description
Presence Control Mode Disabled (default) or Enabled.
Presence Trigger One or more entities reporting room presence (binary_sensor, input_boolean, calendar, device_tracker or person). Any on or home state is treated as present; not_home and away are treated as absent. The group is occupied if any sensor reports presence.
Presence Zone (Optional) One or more zone entities. If configured, a person/device_tracker sensor only counts as present when located in one of the selected zones. Leave empty to treat any non-away state as present.
Away Action The fallback action to perform when absence is detected: Turn Off, Away Offset, Away Temperature (Fixed), Away Temperature (Limit), or Away Preset.
Away Temperature Offset (Away Offset action) Offset from current target when away (e.g. −2.0°C or +2.0°C).
Away Temperature (both Away Temperature actions) Temperature to set when away — with Away Temperature (Limit), the limit.
Away Preset (Away Preset action) Preset mode to activate when away.
Away Delay Wait time (seconds) after sensor reports absence before activating away mode.
Return Delay Wait time (seconds) after sensor reports presence before restoring.
Respect Member Off State (Presence) Leaves devices that are switched off alone — Disabled (default), When going away, When returning, or When going away and returning. Does not apply when the away action is Turn Off, since the group switched the devices off itself. Unlike the sync and schedule versions of this option, it also applies when every device is off.

Schedule Automation

Option Description
Main Schedule / Calendar Entity A Home Assistant schedule.* or calendar.* entity to control the group.
Fallback State for Inactive Main Schedule / Calendar (YAML) (Optional) State that stands in for the main schedule outside its active slots (e.g. night setback or complete turn off). The bypass layer overrides it while active.
Bypass Schedule / Calendar Entity (Optional) A second schedule.* or calendar.* entity acting as a priority layer. When a bypass slot is active, it overrides the main schedule.
Respect Member Off State (Schedule) Members that are manually turned off are skipped during scheduled changes — they are not forced back on. Direct group commands always reach all members regardless of this setting.
Retain Changes Made via Service (Schedule) Keep the main schedule, bypass entity, fallback state and manual hold duration across restarts when changed via service. Without this, the group always reverts to its configured defaults on restart.
Manual Hold Duration How long a manual change to the group (any setting, also one the Sync Mode adopts from a device) holds before the schedule resumes with the then-current slot. 0 disables the hold. Can be overridden at runtime via service.

Group Presets

Option Description
Group Presets (YAML) Define the group's config presets as a YAML mapping, each with its own set of climate attributes (e.g. eco: with temperature: 18.0 and hvac_mode: heat). Selecting one applies its attributes to the group and all members. If a name matches a preset a member device already offers natively, the settings page warns you and the group's own definition is used — also when a device switches to that preset on its own.
Retain Changes Made via Service (Presets) Keep the runtime presets across a restart. Without this, the group starts with its config presets alone. See Group Presets.

Member Offsets

Option Description
Member Offsets (one field per member) Apply individual temperature shifts (±20°C, 0.5°C steps) so specific members run proportionately warmer or cooler than the group's target setpoint.
Correct member offset (Default) Subtracts member offsets before averaging to show the room's logical setpoint instead of the raw physical average.

Member Isolation

Option Description
Number of Rules How many independent isolation rules to configure (1–4). Each rule has its own trigger, members, delays, and action. Save after changing to reveal or hide additional rule sections.
Entities to Isolate Which group members this rule isolates.
Trigger Type Binary Sensor (activates when sensor is ON), HVAC Mode (activates when group mode matches), or Member Off (isolates each member individually when it turns off manually).
Isolation Sensor (Sensor trigger) Binary sensor that triggers isolation when active.
HVAC Mode Trigger (HVAC Mode trigger) The group modes that activate isolation.
Activate Delay Time to wait after the trigger activates before isolating members.
Restore Delay Time to wait after the trigger deactivates before restoring members.
Isolation Action What to send to the member when isolation activates: Set HVAC mode (default: off) or Set preset mode (e.g. building_protection for floor heating without a real off mode).
HVAC Mode (HVAC mode action) The HVAC mode to set on the isolated member (default: off).
Preset Mode (Preset mode action) The preset to set on the isolated member. Falls back to turning the member off if the preset is not supported by the device.

Member Template

Option Description
Enable Range Template Enables automatic heat_cool range control for all members that do not natively advertise heat_cool. No manual selection needed — the group detects eligible members automatically.
Heating Devices / Cooling Devices (Optional) Restrict which members may heat or cool. Unlisted members do whatever they can. A role can only restrict a device, never extend it.
Conditional Heat/Cool Offer Heat/Cool and the temperature range only while at least one reachable member can heat and one can cool.
Deadband Action What to do when the room temperature is already within the target band (between the low and the high setpoint). None (default — no mode change; a device that keeps heating or cooling is held on the matching setpoint: heating on the low one, cooling on the high one), Turn Off, or Fan Only.
Dehumidify in Deadband Automatically switch to dehumidification or fan circulation when inside the temperature deadband if room humidity exceeds the target humidity. Requires a humidity reading from a member or a humidity sensor.
Humidity Action Physical action when the humidity threshold is exceeded inside the deadband: Dry (default) or Fan Only.
Humidity Hysteresis Symmetrical hysteresis band around the target humidity to prevent rapid cycling (default: 3.0%).
Deactivation Delay Delay before ending the humidity action after humidity falls back below the threshold (default: 0s). Activation is immediate — like leaving the temperature band, reacting to excess humidity is never artificially delayed.
Enable Off Template Heaters without an off mode are set to heat at their own minimum temperature when the group turns off, and count as off while they stand there. See Off Template.

Advanced Settings

If commanding the whole group at once overloads your network or bridge — a known issue with IR blasters and some Zigbee coordinators when several devices are addressed in the same instant — set a Member Command Delay to pace the commands out instead of sending them all together.

Option Description
Main Switch Action What happens while the Main Switch is off: Turn Off (default), Set Temperature (e.g. frost protection), or Release Devices (manual control at the devices) — see Main Switch.
Main Switch Temperature The setpoint for Set Temperature, e.g. 6 °C for frost protection.
Debounce Delay Wait before sending commands. Higher values prevent 'rapid-fire' commands when sliding controls, but feel slower (default: 0.3s).
Retry Attempts Number of retries if a command fails.
Retry Delay Time between retries (e.g. 1.0s).
Force Retry Always send commands to all members, even if they already report the target state. Useful for IR-based AC units or other devices that may not reliably update their state after receiving a command.
Member Command Delay Pause between commands to each individual member instead of sending them all at once. Helps when controlling several devices at the same time overloads your network or bridge — a common issue with IR blasters and some Zigbee coordinators (default: 0s, disabled).
Optimistic UI Grace Period Duration (seconds) for which the group shows the commanded value right after a UI action, before slow member devices report their state back. Prevents visual flicker in the dashboard (default: 3.0s). Applies to all attributes: HVAC mode, temperature, humidity, fan/preset/swing modes.
Expose Smart Sensors When enabled, creates separate temperature and humidity sensor entities reflecting the group's current aggregated state (useful for history graphs and dashboards).
Expose Member List When enabled, adds the entity_id attribute with the list of member entity IDs, so Home Assistant's More-Info dialog shows the native member breakdown (also enables expand() templates).
Expose Configuration Sensor When enabled, creates a diagnostic sensor exposing the group's configuration as portable JSON.
Expand all sections by default Keeps all configuration sections expanded by default in the options dialog.

Services

In addition to standard Home Assistant climate services, the integration provides:

climate_group_helper.boost

Temporarily set the group to a target temperature for a fixed duration. When the timer expires, the group restores automatically to the active schedule slot (if configured) or its previous target state.

Service Fields:

Field Required Description
hvac_mode No The mode the boost runs in: heat, cool, dry or fan_only. Defaults to the group's current mode — an off group wakes in its last active mode; the modes without a single setpoint fall back to heat.
temperature No* Absolute target temperature during boost (e.g. 24.0).
temperature_offset No* Relative offset added to the current target temperature (e.g. +3.0 or −2.0).
duration Yes Duration in minutes (minimum 1).

*Either temperature or temperature_offset must be provided. An offset needs the group's own single setpoint as a base — it is rejected (with a hint to use temperature) when the boost falls back to heat or runs in a mode differing from the group's.

The boost always runs in a mode that carries a single setpoint; the mode is only sent to the devices when it differs from the group's. With the Union feature strategy the boost only reaches members that offer that mode; with Intersection it is sent like any other group command. If no member can take the boost, the service raises an error — nothing is set and no countdown runs. The same happens while a group block (like an open window) is active.

Manual changes (direct group commands) abort the boost immediately. A change made directly at a device does not — while a boost runs, member reports are ignored (a slow device's confirmation of the boost setpoint is indistinguishable from a manual change), and the boost restores the previous state when it ends. A member's off ends the boost exactly where the sync mode would adopt it: in the mirror modes any single member's off without Respect Member Off State (Sync), only the last running member's with it; in Master/Lock only the master's; in Lock only the last running member's with the option; with Adopt Only or sync Disabled never. Lock enforcement does not abort the boost. A boost ranks above the schedule and the bypass layer: schedule slot changes and bypass activations run in the background without touching the boosted temperature, and everything is re-applied once the boost ends. If the schedule turns the group off during a boost, the boost keeps the members running in their last active mode.

Example (absolute):

service: climate_group_helper.boost
target:
  entity_id: climate.my_group
data:
  temperature: 24.0
  duration: 30

Example (offset):

service: climate_group_helper.boost
target:
  entity_id: climate.my_group
data:
  temperature_offset: 3.0
  duration: 30

climate_group_helper.set_schedule_entity

Dynamically change the active schedule entity for a group. With Retain Changes Made via Service (Schedule) enabled, the entity you set here survives a restart.

Service Fields:

Field Required Description
schedule_entity No The entity ID of the new schedule or calendar (e.g. schedule.* or calendar.*). If omitted, the group reverts to its configured default schedule entity.

Calling this service without an entity returns the group to its configured schedule (discarding one set via this service earlier) and re-applies the current slot. To reset other temporary overrides like boost or offset, use the climate_group_helper.reset service.

The schedule field in the group's settings always shows the configured schedule, not the one set here. The active one is shown in the status area of the dashboard card and in the group's attributes. Without Retain Changes Made via Service (Schedule), the group returns to the configured schedule after a restart or when its settings are saved.

Example:

service: climate_group_helper.set_schedule_entity
target:
  entity_id: climate.my_group
data:
  schedule_entity: schedule.guest_mode

climate_group_helper.reset

Resets temporary overrides and runtime state back to their configured defaults. Useful for ending temporary automation states or returning a group to its baseline.

Service Fields:

Field Required Description
everything No Resets all options below at once. The individual fields are then ignored.
boost No Aborts an active boost override and restores the group target state.
offset No Resets the global group temperature offset to 0.0.
schedule No Reverts the active schedule entity and the manual hold duration to their configured defaults and ends a manual hold, so the current slot applies right away.
bypass No Reverts the active bypass entity to the configured default and unwinds bypass adjustments.
fallback No Reverts the schedule fallback payload to the configured default.
presets No Removes all runtime presets. The config presets stay as they are.

Set at least one option to true, or use everything: true to reset all of them. A call that selects nothing is rejected.

Example — Reset everything:

service: climate_group_helper.reset
target:
  entity_id: climate.my_group
data:
  everything: true

Example — Reset only boost and offset:

service: climate_group_helper.reset
target:
  entity_id: climate.my_group
data:
  boost: true
  offset: true

climate_group_helper.set_schedule_bypass_entity

Dynamically change the active bypass schedule entity for a group at runtime. The bypass schedule acts as a priority layer that overrides the main schedule. While a bypass is active, the group keeps tracking the main schedule in the background; when the bypass ends, the currently valid main state is restored (attributes only the bypass changed fall back to their pre-bypass values). With Retain Changes Made via Service (Schedule) enabled, the entity you set here survives a restart.

Service Fields:

Field Required Description
schedule_bypass_entity No The entity ID of the new bypass schedule or calendar (e.g. schedule.* or calendar.*). If omitted, the group reverts to its configured default bypass schedule entity.

Example:

service: climate_group_helper.set_schedule_bypass_entity
target:
  entity_id: climate.my_group
data:
  schedule_bypass_entity: calendar.holiday_schedule

Calling this service without an entity returns the group to its configured bypass entity — or to none, if none is configured — and immediately re-applies the current schedule slot.

climate_group_helper.set_schedule_fallback_payload

Set or clear the fallback state applied whenever the schedule is off (see "Inactive Schedule Fallback" above) at runtime, without editing the group's settings. Useful for seasonal setpoint changes or automations. With "Retain Changes Made via Service (Schedule)" enabled, the fallback state you set is remembered across restarts.

Service Fields:

Field Required Description
fallback_payload No The new fallback state in the same YAML format as the "Inactive Schedule Fallback" setting (e.g. temperature: 17.0, hvac_mode: heat). If omitted or empty, the group reverts to its configured fallback state.

Example:

service: climate_group_helper.set_schedule_fallback_payload
target:
  entity_id: climate.my_group
data:
  fallback_payload: |
    temperature: 19.0
    hvac_mode: heat

climate_group_helper.set_schedule_hold_duration

Change the Manual Hold duration at runtime, without editing the group's settings. The group's settings stay as they are; the value you set here applies on top of them until you clear it.

Service Fields:

Field Required Description
duration No Hold duration in minutes, 0 to 480. 0 turns the hold off, even if the group's settings name a duration. If omitted, the group returns to the duration from its settings.
  • A running hold keeps its end time. A new duration applies from the next manual change. Only 0 ends a running hold right away, and the current slot takes over.
  • After a restart the duration you set is kept only with Retain Changes Made via Service (Schedule) enabled. With that option on, it also stays in effect when you later change the duration in the group's settings — call this service without a duration, or reset the schedule with the reset service, to return to the configured value.

Example:

service: climate_group_helper.set_schedule_hold_duration
target:
  entity_id: climate.my_group
data:
  duration: 120

climate_group_helper.set_group_preset

Create, change, or remove the group's runtime presets (see Group Presets). A call changes only the presets it names; every other preset stays as it is. With "Retain Changes Made via Service (Presets)" enabled, the runtime presets are kept across Home Assistant restarts.

If you change the preset that is currently selected on the group, its new values are applied immediately. Changing any other preset only changes its definition.

Service Fields:

Field Required Description
payload No The runtime presets to set, in the same YAML or mapping format as the config presets (e.g. party: with temperature: 23.0). Setting an individual preset to empty or null removes only that runtime preset. Omitting or passing an empty payload removes all runtime presets.

Example — Add or update presets:

service: climate_group_helper.set_group_preset
target:
  entity_id: climate.my_group
data:
  payload: |
    party:
      temperature: 23.5
      hvac_mode: heat
    guest:
      temperature: 21.0

Example — Remove a specific preset:

service: climate_group_helper.set_group_preset
target:
  entity_id: climate.my_group
data:
  payload:
    party: null

climate_group_helper.apply_config

Apply a portable JSON configuration to a group. This is useful for copying logic settings between groups or restoring a backup from a configuration sensor.

Afterwards, open the group's settings and save once. The service applies what you hand it as is; only the settings dialog checks that the combination makes sense and points out anything that needs fixing.

Service Fields:

Field Required Description
settings Yes A JSON object containing the configuration. Source: settings_json attribute from a Configuration Sensor.
include_member_list No If true, overwrites the member list, the master entity, the per-device heat/cool role assignment, and the member lists of the isolation rules. Defaults to false.
include_entity_selectors No If true, overwrites linked sensors, per-member offsets, and isolation sensors. Defaults to false.

By default, only logic settings (Sync Modes, Window Control, Schedules, etc.) are transferred. Set the two inclusion flags to true if you also want to copy the member list, the linked sensors, and the isolation rules with their member lists and sensors. The group name is always preserved.

[!IMPORTANT] Reload Behavior: Calling this service triggers a full reload of the group entity. All active, non-persisted timers (e.g., Boost, Window delays) will be reset immediately. This is the same behavior as when making changes through the UI.

Backup & Migration

The integration provides built-in ways to snapshot, restore, and clone your logic settings.

  • Configuration Sensor: Enable Expose Configuration Sensor (Advanced Settings) to create a diagnostic sensor entity. Its settings_json attribute contains a portable snapshot of all logic settings.
  • Diagnostics Download: Click Download diagnostics directly in the Device info panel (or via the integration's ⋮ menu).

Example — Copy settings from one group to another:

  1. Enable the configuration sensor on the source group.
  2. Call the apply_config service on the target group:
service: climate_group_helper.apply_config
target:
  entity_id: climate.bedroom_group
data:
  settings: "{{ state_attr('sensor.living_room_group_configuration', 'settings_json') }}"
  include_member_list: false
  include_entity_selectors: false
  1. Open the target group's settings and save once.

Troubleshooting

Issues after updating?

If you experience strange behavior after an update (e.g. settings not saving), first try restarting Home Assistant. Re-creating the group usually resolves any remaining migration-related problems.

Debug Logging

Option 1: Via UI (for issues you can reproduce)

  1. Go to Settings > Devices & Services > Devices.
  2. Search for your Climate Group and click it.
  3. In the Device info panel, click the Climate Group Helper link (next to the icon).
  4. On the integration page, click the ⋮ menu (top right) and select Enable debug logging.
  5. Reproduce the issue, then disable logging. The file will download automatically. (Note: For startup-related issues, restart HA after enabling logging.)

Option 2: Via YAML (for sporadic issues)

Add this to your configuration.yaml (requires restart):

logger:
  default: info
  logs:
    custom_components.climate_group_helper: debug

Debug logging then stays active permanently, across restarts — so when an issue shows up that you can't trigger on purpose, the log already contains the details. Remove the entry again once you're done, as the log grows considerably.

Finding and sharing the log

Go to Settings > System > Logs. The page shows a condensed list of errors and warnings by default — debug entries only appear after selecting Show raw logs in the ⋮ menu. The download button next to it saves the log as a file.

Ideally, share the full log file. If you prefer not to share unrelated data, you can strip it down to only the integration's entries:

grep 'climate_group_helper' home-assistant_*.log > cgh.log

Contributing

Found a bug or have an idea? Open an issue on GitHub.

License

MIT License

Explore related projects

Loading…