Climate automation that adapts to your life.
Velair is a Home Assistant custom integration for managing clear, local-first climate schedules on top of standard climate.* entities. It provides a sidebar panel, an optional Lovelace card, schedule templates, Adaptive Preconditioning, Room Assist, Environmental Comfort monitoring, per-zone boosts, and automation-friendly services without depending on any thermostat vendor cloud.
Velair does not replace your thermostat integration. It works through Home Assistant entities, so it can manage any compatible climate device that is already exposed to Home Assistant.
Velair started from a practical Home Assistant use case: keeping climate control local and reliable while recovering scheduling features that were becoming harder to use from a vendor app because of subscription changes and rate limits.
The project is not intended to criticize or offend any brand. It is a community contribution for users who want local-first home automation, simple day-to-day workflows, and a scheduler that can work across different climate integrations.
Velair is maintained by Cristian Gonzalez Fernandez, a Home Assistant enthusiast who enjoys building software projects in his free time to solve practical everyday problems through automation and technology.
Contributions, testing, bug reports, and constructive feedback are always welcome. This project is maintained on a best-effort basis alongside work and daily life, so responses and updates may sometimes take a little time.
- Home Assistant sidebar panel registered automatically by the integration.
- Optional Lovelace card using the same bundled frontend.
- Visual schedule editor for managed
climate.*entities. - Weekly schedules per climate zone.
- Schedule blocks for temperature targets or turning a climate entity off.
- Optional HVAC mode per block, with a
Keepoption when the mode should not be changed. - Support for heating, cooling, heat/cool, auto, dry, fan-only, and off modes where the climate entity supports them.
- Drag and resize interactions on a 24-hour timeline.
- Day cloning to other weekdays or other managed climates.
- Editable schedule templates with import/export support.
- Overview tab with scheduler status, active boosts, next events, and responsive zone cards that surface current intent and relevant attention signals.
- Dedicated Adaptive preconditioning tab with per-climate controls and local learning status.
- Dedicated Room Assist tab for setups that need a separate room temperature sensor.
- Dedicated Comfort tab with readable temperature/humidity conditions, independent CO2 air quality, data-quality warnings, and responsive live visualizations.
- Optional climate controls per block where supported, including fan mode, preset mode, swing mode, horizontal swing mode, and target humidity.
- Settings tab with climate ordering, startup behavior, thermostat diagnostics, portability tools, and maintenance information.
- Global pause, stop, and resume controls, plus per-zone pause and resume.
- Velair-scoped services for starting and cancelling boosts, pauses, schedule application, schedule editing, day cloning, and schedule clearing.
- Automation events through
velair_eventfor scheduler mode changes, Adaptive Preconditioning plans, cancellations and observations, Room Assist state and target changes, Comfort assessments, applied climate targets, boosts, and per-zone pause/resume lifecycle changes. - Push updates through Home Assistant WebSocket events, without frontend polling.
- English and Spanish UI translations.
- Native Celsius and Fahrenheit workflows using Home Assistant's configured unit, including unit-aware defaults, explicit stored-data migration, and legacy backup conversion.
The following examples are captured from a real Home Assistant instance. See more screenshots for the complete screenshot set.
| Desktop | Mobile |
|---|---|
Velair is designed for HACS and manual installation.
HACS
Until Velair is accepted into the default HACS store, add it as a custom repository:
- Open HACS.
- Open the three-dot menu.
- Select Custom repositories.
- Add this repository URL:
https://github.com/cgonfer/velair. - Select Integration as the category.
- Install Velair.
- Restart Home Assistant.
- Add Velair from Settings > Devices & services.
Manual
For manual installation from a release, download `velair-custom-component-.zip` from the GitHub Release assets and extract it so Home Assistant has:
<home_assistant_config>/custom_components/velair
For manual installation from a repository checkout, copy this directory:
custom_components/velair
to:
<home_assistant_config>/custom_components/velair
Restart Home Assistant and add Velair from Settings > Devices & services.
For development builds, see docs/developer/development.md.
- Add the Velair integration.
- Select the
climate.*entities Velair may manage. - Open Velair from the Home Assistant sidebar.
- Choose a climate and weekday.
- Add schedule blocks.
- Save the day.
- Clone the day or create templates when useful.
See docs/user/usage.md for the full workflow.
Velair uses the temperature unit configured in Home Assistant. New installations receive matching defaults automatically. If you are upgrading older Velair data or importing a backup created in another unit, read Temperature Units and Migration before changing stored thermal data.
The sidebar panel is the main Velair experience. The Lovelace card is optional.
Before adding a card, install and configure the Velair integration first. The Lovelace resource is served by the integration, so it is available after Home Assistant has loaded Velair.
- Open Home Assistant.
- Go to Settings > Dashboards.
- Open the three-dot menu.
- Select Resources.
- Select Add resource.
- Use this URL:
/velair_frontend/velair-card.js
- Select JavaScript module as the resource type.
- Save the resource.
- Reload the browser or the Home Assistant companion app.
The resource can also be represented as YAML:
url: /velair_frontend/velair-card.js
type: module- Open a dashboard.
- Select Edit dashboard.
- Select Add card.
- Select Manual.
- Paste this example:
type: custom:velair-card
view: overview-status- Save the card.
This first card shows the scheduler status and pause/stop/resume controls. You can add more Velair cards to the same dashboard by changing the view value.
You can also limit a Lovelace card to specific thermostats. This only changes what that card displays; it does not change the scheduler or stored schedules.
type: custom:velair-card
view: overview-events
entities:
- climate.living_room
- climate.bedroom
zone_order:
- climate.bedroom
- climate.living_roomComfort cards can also hide configuration or individual live graphs:
type: custom:velair-card
view: comfort
entities:
- climate.living_room
show_comfort_configuration: false
show_comfort_temperature: true
show_comfort_humidity: false
show_comfort_co2: trueSupported view values:
overview-status: scheduler state and pause/stop/resume controls.overview-boosts: active boosts.overview-events: next events.overview-timeline: today's timeline.overview-zones: zone overview.schedules: full schedule editor.sensors: Room Assist configuration and live status.comfort: environmental comfort configuration and status.preconditioning: adaptive preconditioning configuration and local learning status.
If Home Assistant shows a custom element error, confirm that Velair is installed, the resource URL is exactly /velair_frontend/velair-card.js, and the browser or companion app has been reloaded after adding the resource.
- Documentation index
- Usage guide
- Adaptive Preconditioning
- Room Assist
- Environmental Comfort
- Temperature Units and Migration
- Installation
- Troubleshooting
- Architecture
- WebSocket API
- Adaptive preconditioning internals
- Room Assist internals
- Environmental Comfort internals
- Temperature unit internals
- Frontend development
- Development guide
- Manual testing
custom_components/velair/ Home Assistant integration
frontend/ TypeScript/Lit frontend source and build tooling
docs/ User, developer, and project documentation grouped by topic
tests/ Unit tests
screenshots/ Real screenshots for public documentation
hacs.json HACS metadata
Contributions are welcome. The project especially benefits from:
- Testing with different climate platforms.
- Reports about unsupported HVAC modes or thermostat capabilities.
- Mobile and tablet UX feedback.
- Documentation improvements.
- Pull requests that keep the code maintainable and aligned with Home Assistant conventions.
Please read docs/developer/development.md before opening a pull request.
Velair is a community project maintained in free time. If Velair helps simplify your Home Assistant climate setup and you want to support future development, donations are welcome:
Donations are optional and do not change the best-effort support model, but they are always appreciated.
MIT. See LICENSE.