English · Magyar
A round wall-thermostat card for Home Assistant. It works with any climate entity – single target or heat/cool range – and can optionally follow the room your phone is in, so the card always shows the thermostat of the room you are standing in.
▶ Try the live demo – in your browser, on simulated thermostats, no Home Assistant needed.
-
Safe setting. Long-press the display to enter SET mode (the thermostat's name and area at the top, so you see which one you set), turn the knurled ring (or use the mouse wheel / arrow keys) and long-press again to save. Nothing is sent while you turn; after 15 seconds without touch the card leaves SET mode without saving.
-
Any climate entity. Single target (
temperature) or range (target_temp_low/target_temp_high): in SET mode a short tap switches between the heating and the cooling target. The card readssupported_features, so it only offers what the thermostat can do. -
On / off. A power button in SET mode; saved with the same long press. Uses
climate.turn_on/climate.turn_offwhen supported, so the thermostat returns to its own previous mode. -
Status at a glance. Room temperature, target, weather, outdoor temperature, humidity, HVAC mode, current action (heating, cooling, preheating, defrosting, drying, fan), preset icon (eco = leaf, sleep = bed …), open window, availability.
-
Room following (optional). With a room-presence sensor (Bermuda, ESPresense, Wi-Fi BSSID …) the card switches to the thermostat of the room you are in. Several thermostats in one room (e.g. a TRV and an air conditioner): the one that is switched on wins.
-
Add thermostats without code. Tap the thermostat icon (admins only): the card lists the recognised thermostats and TRVs; tap selects, long press adds or removes. A new one goes into
roomsunder its HA area (a TRV withtrv: true); the card saves itself to the dashboard (not possible on a YAML-mode dashboard). Double tap cycles between the thermostats; a tap outside the ring closes an open menu at once and brings back the main thermostat. -
Own font. The card uses Home Assistant's bundled Roboto under a name of its own, so a replaced phone system font (Samsung, Xiaomi …) cannot swap it; the phone's enlarged text size is measured and divided out, so the layout stays intact.
-
Preset menu. Tap the preset icon to choose a preset (comfort, eco, away …). With HC Thermostat each line also tells how long the preset lasts ("until 22:00", "until someone is home").
-
Control type. At the top left the card shows what regulates; the preset icon sits in front of the temperature.
Thermostat Shown HC Thermostat TPI, PID, EXT (external thermostat) HC Lite (HC Thermostat 0.79.2+: a Shelly script heats, HC manages it) LITE·HIST, LITE·TPI, LITE·PID – with the shadow mark while it only decides; no HC info icon Generic thermostat (on/off with hysteresis) HIST Smart Thermostat PID, or HIST when its PID is off SAT (Smart Autotune Thermostat) SAT·PWM (on/off boiler), SAT·OT (modulating via OpenTherm) Better Thermostat BT, BT·PID, BT·MPC (by its calibration) Versatile Thermostat TPI, AUTO-TPI (learning), VT·REG (over a climate with self-regulation), VT OpenTherm Gateway, ebusd OT, eBUS -
Why heating / why not (HC Thermostat 0.87+). Under the dial one line says what HC does and why ("Not heating – the house reached its target (22.6 °C, target 22.5 °C)"); a tap opens the rest: where the target comes from, when it changes, what you can do. It comes from the thermostat's own
summary_*attributes (a TRV room's too), else fromdecision; the text is in Home Assistant's language.summary: falsehides it. -
Per-device choice. Long-press the outer ring to choose which beacon this device follows (or none). Stored in the browser of that device.
-
°C / °F from your Home Assistant settings, number format from your locale. Texts in English, Hungarian, German and Serbian (Cyrillic, and Latin with the
sr-Latnlanguage). -
Visual editor, keyboard control and screen-reader labels.
- Open HACS and search for HC Dial Card.
- Download it and reload the browser.
If the search doesn't find it (while it is waiting to be added to the HACS default list, or on an older HACS):
- HACS → ⋮ → Custom repositories → add
https://github.com/Gyuszko55/hc-dial-card, type Dashboard. - Install HC Dial Card and reload the browser.
Copy hc-dial-card.js to config/www/ and add it as a dashboard resource:
url: /local/hc-dial-card.js type: module
type: custom:hc-dial-card entity: climate.living_room
type: custom:hc-dial-card entity: climate.living_room label: area # the thermostat's area name (max 6 characters); or any text, e.g. "Living" weather: weather.home outdoor: sensor.outdoor_temperature humidity: sensor.living_room_humidity heating: binary_sensor.boiler_burning # optional: real burner state for the flame power: sensor.ac_power # optional: power draw (W); the three steps are thirds of power_max power_max: 1800 # optional, default 1800 W (power_idle: 40 W = standing) # without power: the thermostat's demand (HC Thermostat, Versatile # power_percent, Smart Thermostat control_output): ≤10 % one step, # ≤30 % two, above three; else all three while heating heat_type: auto # optional: icon of the heat – gas_boiler (rising red heat; flame while burning), floor, # radiator, heat_pump, air_conditioner (sun-snowflake, orange heating / blue cooling; fan while running), electric, # stove, district, solar, flame; auto = the thermostat's heat_type # attribute (HC Thermostat), else air_conditioner if it can cool window: [binary_sensor.living_window]
type: custom:hc-dial-card entity: climate.house # main thermostat: shown in every other room and when away label: area follow_app_only: true # follow only inside the Companion app follow: Anna: sensor.anna_phone_area # HA user name (or user id) → room sensor Peter: sensor.peter_phone_area rooms: Terrace: climate.terrace_ac Bedroom: # several thermostats: the one that is on is shown - entity: climate.bedroom_trv trv: true # a TRV counts as "on" when the main thermostat is on - climate.bedroom_ac
Map any value to a room with room_map:
follow: sensor.anna_phone_espresense # state: living_room room_map: living_room: Living Room "aa:bb:cc:dd:ee:ff": Terrace # Wi-Fi BSSID from the Companion app rooms: Terrace: climate.terrace_ac
Room names are matched case- and accent-insensitively against the Home Assistant area name or area id.
You need Bermuda (HACS) and Bluetooth receivers assigned to areas: ESPHome bluetooth_proxy boards, Shelly Gen2+ devices with Bluetooth gateway, or the HA host's adapter. Roughly one receiver per room gives a stable result.
Android – the Companion app sends an iBeacon:
- Companion app → Settings → Companion app → Manage sensors → BLE Transmitter: enable the sensor and switch Transmit on. It must be enabled on the phone itself; a remote command does nothing while it is off.
- Set Transmit power to High (or Medium) and Advertise mode to Balanced. Ultra Low / Low Power is often too weak for room detection. Later changes also work remotely with the
command_ble_transmitternotification command. - Android settings → Apps → Home Assistant → Battery: Unrestricted, otherwise the system may stop the transmitter in the background.
- HA → Settings → Devices & services → Bermuda → Configure → Select devices: pick the beacon (its
UUID_major_minoris shown as an attribute of the BLE Transmitter sensor). - Bermuda creates an Area sensor for the phone – put it into
follow.
iPhone – the iOS Companion app cannot transmit a beacon in the background, so the phone is recognised by its own Bluetooth signal through its IRK (identity resolving key):
- Get the IRK. With a Mac on the same Apple ID: Keychain Access → search
Bluetooth→ open the record whosePublicaddress matches the iPhone's Bluetooth address (Settings → General → About) → Show password → the base64 value under Remote IRK. Without a Mac: an ESP32 IRK capture firmware (e.g. ESPHome-based irk-capture) that you pair the iPhone with. - HA → Add integration → Private BLE Device → paste the IRK. Keep the iPhone nearby with Bluetooth on – HA checks that it can see it.
- Bermuda → Configure → Select devices: pick the new private device; its Area sensor goes into
follow.
The same works for an Apple Watch or an iPad. Each person needs their own sensor in follow; on a shared or wall device use the ring's long-press menu to choose which beacon to follow (or none).
Add the card from the dashboard editor (Add card → HC Dial Card) or open an existing one with Edit. The editor writes the same YAML as above, so you can switch to the code editor at any time.
| Field | What to enter |
|---|---|
| Thermostat | the climate entity shown by default (required) |
| Label | up to 6 characters before the temperature; area = the thermostat's area, auto = the room you are in, empty = no label |
| Step | target step; leave empty to use the entity's own step |
| Weather / Outdoor sensor / Humidity sensor | the small top line |
| Actual heating sensor | a binary sensor that is on while the burner or compressor really runs (flame / snowflake icon) |
| Window/door sensors | one or more binary sensors; an open one shows the window icon |
| Tap action | auto, more-info, cycle or none |
| Control type label / Preset menu | auto, own text or false / on-off |
| SET timeout / Switch back | seconds before SET mode closes without saving / before a manually chosen thermostat returns to the room's one |
Room following (optional) is a collapsed section at the bottom:
| Field | What to enter |
|---|---|
| Follow | one room sensor (sensor.phone_area) or a map {user name or id: sensor} – YAML |
| Follow only in the mobile app | on = wall tablets and desktop browsers keep the default thermostat |
| Room → thermostat | {room: climate entity}; rooms not listed use the default thermostat – YAML |
| Value → room mapping | only if the sensor's values differ from your room names, e.g. {kitchen_beacon: Kitchen} – YAML |
| Area abbreviations | 6-character labels for long area names, e.g. {Living Room: LIVING} – YAML |
| Extra beacons for the device menu | sensors offered in the ring's long-press menu besides the Bermuda ones found automatically |
| Away hold | seconds without a room before the main thermostat is shown |
| HC decision sensor | only with the HC Thermostat integration |
Turning room following on in three steps:
- In Follow enter each user's room sensor, e.g.
{Anna: sensor.anna_phone_area}. - In Room → thermostat list the rooms that have their own thermostat, e.g.
{Terrace: climate.terrace_ac}. - Optionally switch on Follow only in the mobile app and set Label to
area.
Fields marked YAML are small objects: type them as {key: value} or as one key: value per line. Options not in the editor (step_angle, away_states) can be added in the code editor.
| Where | Gesture | Action |
|---|---|---|
| Display | long press | enter SET / save |
| Display | double tap | next thermostat (several) – see tap_action |
| Display | short tap | more-info (one thermostat) |
| Thermostat icon (view, admin) | tap | thermostat list: tap selects, long press adds / removes |
| Info icon (view, admin, HC Thermostat) | tap | opens the HC info panel of the thermostat shown |
| Ring (SET) | drag around | change the target |
| Display (SET, range) | short tap | switch heating / cooling target |
| Power button (SET) | tap | on / off |
| Ring (view) | long press | device menu: which beacon this device follows |
| Preset icon (view) | tap | preset menu |
Keyboard: Enter = SET / save, Esc = cancel, arrows = step, Space = heating/cooling target, P = on/off, M = device menu, S = preset menu.
| Option | Default | Description |
|---|---|---|
entity |
– | climate entity (required) |
label |
– | text before the temperature (max 6 chars); area = thermostat's area; auto = the room you are in |
step |
entity step, else 0.5 (°F: 1) | target step |
weather, outdoor, humidity |
– | top line; humidity falls back to the entity's current_humidity |
heating |
– | binary sensor for the real burner/compressor state |
window |
entity window_open/door_open |
binary sensor(s) for open windows |
decision |
– | HC Thermostat decision sensor (demand bars, window) |
tap_action |
auto |
auto (several thermostats: double tap cycles, one: tap = more-info), more-info, cycle, none |
manage |
true | thermostat icon for admins: list of recognised thermostats and TRVs, long press adds / removes |
info |
true | "i" icon for admins on HC Thermostat entities: opens the HC info panel (HC Thermostat 0.34+) of the thermostat shown |
timeout |
15 | seconds before SET mode closes without saving |
step_angle |
18 | ring degrees per step |
preset_menu |
true | tap on the preset icon opens the preset menu |
summary |
true | HC Thermostat 0.87+: the plain "why heating / why not" line under the dial, a tap shows the details |
control |
auto |
control type at the top left: auto, your own text, or false |
follow |
– | room sensor, or {user name or id: sensor} |
follow_app_only |
false | follow only inside the Companion app |
follow_choices |
– | extra sensors for the device menu (Bermuda area sensors are found automatically) |
rooms |
– | {room: entity} or {room: {entity, label, step, heating, humidity, window}} or a list |
room_map |
– | {sensor value: room} |
area_labels |
– | short labels, e.g. {Living Room: LIVING} |
away_states |
unknown, unavailable, not_home, away, none |
values meaning "no room" |
away_hold |
60 | seconds without a room before the main thermostat is shown |
switch_back |
10 | seconds before a manually chosen thermostat returns to the room's one |
The card was built for the HC Thermostat integration (heating supervision with shadow mode), but it does not need it.
MIT
