A reusable Home Assistant Lovelace card built with LitElement that surfaces temperature, humidity, dew point, and battery status for any room sensor setup.
- Minimal layout optimized for quick climate checks with selectable compact/comfortable/expanded densities
- Optional humidity, dew point, and battery indicators
- Battery icon automatically overlays the card when levels fall below configurable thresholds and can be overridden per card
- Designed for bundling and distribution through HACS
- Download the latest release and copy the
dist/room-climate-card.jsfile into your Home Assistantconfig/www/directory. - Add the resource to your Lovelace resources (Configuration → Dashboards → Resources) with:
- URL:
/local/room-climate-card.js - Resource type:
JavaScript Module
- URL:
- Restart Home Assistant or reload resources.
- In HACS, open the Frontend section and select the menu in the top-right corner.
- Choose Custom repositories, add your repository URL, and set the category to
Lovelace. - Install Room Climate Card from the HACS list and reload resources when prompted.
type: custom:room-climate-card
entity: sensor.temp
humidity_entity: sensor.humidity
dewpoint_entity: sensor.dewpoint
battery_entity: sensor.battery
room_name: Wohnzimmer
layout:
room_name: left
size: compact
battery_low_threshold: 30
battery_empty_threshold: 10
battery_icon: mdi:battery-heartnpm install
npm run buildThe bundled file will be emitted to dist/room-climate-card.js.