Skip to content

Home Assistant

Home Assistant runs the house. This gives you control cards, thermostat dials, day schedules and a 3D floor plan, each from your own entities. The assistant can read and, with control, change them.

config.yaml
integrations:
homeassistant:
type: homeassistant
url: http://homeassistant:8123
token: ${HOMEASSISTANT_TOKEN}
href: https://ha.example.com
cards:
lights:
title: Lights
icon: bulb
entities:
- light.living_room
- light.kitchen
- light.bedroom
- light.office
- id: light.porch
name: Porch
- scene.movie_night
house:
title: House
icon: home
entities:
- sensor.outdoor
- sensor.humidity
- select.heating_mode
- switch.coffee
- media_player.living_room
- vacuum.robot
schedules:
buses:
title: Bus times
icon: clock
soon: 15
entities:
- id: sensor.first_bus
name: First bus
- id: sensor.sunrise
name: Sunrise
muted: true
- id: sensor.midday_bus
name: Midday bus
- id: sensor.school_bus
name: School bus
- id: sensor.sunset
name: Sunset
- id: sensor.last_bus
name: Last bus
thermostats:
hallway:
entity: climate.hallway
title: Hallway
floorplans:
flat:
title: Home
map: camera.robot_map
vacuum: vacuum.robot
rooms:
Living room:
- light.living_room
Kitchen:
- light.kitchen
Bedroom:
- light.bedroom
Bathroom:
- light.bathroom
Office:
- light.office
layout:
- title: Home
widgets:
- homeassistant.lights
OptionTypeDefaultWhat it does
urlURLrequiredWhere the service answers, from Valet’s side.
tokenstringrequiredA long-lived access token, best from a separate non-admin user. Use ${VAR}.
hrefstringoptionalWhere the card links to, when that differs from url.
cardsmap of object{}Each entry becomes a widget, <instance>.<key>, of controls: { title, icon, entities }. Entities are ids, or { id, name } to rename one.
controllablelist of string[]extra entities the assistant may control (cards’ entities always may)
schedulesmap of object{}Each entry becomes a schedule widget from timestamp sensors: { title, icon, entities, soon }. Within soon minutes the next one also shows as a live ring.
thermostatsmap of object{}Each entry becomes a thermostat dial: { entity, title, modes, unit }.
floorplansmap of object{}Each entry becomes a 3D floor plan from a robot vacuum’s map: { title, map, vacuum, rooms, hide, rotate, flip, view }.

5 widgets. Each key starts with your instance name, here homeassistant.

homeassistant.lights · controls card · refreshes every 5 seconds while the page is open.

Home Assistant, Lights, medium size
Medium
Home Assistant, Lights, large size
Large
Home Assistant, Lights, in chat
In chat

Small draws the same as medium. Wide draws the same as medium. Tall draws the same as medium, so they aren't shown. Only the empty space changes.

Home Assistant Lights: Can't reach it
Can't reach it

homeassistant.house · controls card · refreshes every 5 seconds while the page is open.

Home Assistant, House, medium size
Medium
Home Assistant, House, large size
Large
Home Assistant, House, in chat
In chat

Small draws the same as medium. Wide draws the same as medium. Tall draws the same as medium, so they aren't shown. Only the empty space changes.

Home Assistant House: Can't reach it
Can't reach it

homeassistant.buses · schedule card · refreshes every minute while the page is open.

Home Assistant, Bus times, small size
Small
Home Assistant, Bus times, wide size
Wide
Home Assistant, Bus times, medium size
Medium
Home Assistant, Bus times, tall size
Tall
Home Assistant, Bus times, large size
Large
Home Assistant, Bus times, in chat
In chat
Home Assistant Bus times: Coming up soon
Coming up soon
Home Assistant Bus times: Can't reach it
Can't reach it

homeassistant.flat · showcase card · refreshes every 5 seconds while the page is open.

Home Assistant, Home, medium size
Medium
Home Assistant, Home, tall size
Tall
Home Assistant, Home, large size
Large
Home Assistant, Home, in chat
In chat

Small draws the same as medium. Wide draws the same as medium, so they aren't shown. Only the empty space changes.

Home Assistant Home: Cleaning
Cleaning
Home Assistant Home: Vacuum stuck
Vacuum stuck
Home Assistant Home: Can't reach it
Can't reach it

homeassistant.hallway · thermostat card · refreshes every 10 seconds while the page is open.

Home Assistant, Hallway, small size
Small
Home Assistant, Hallway, wide size
Wide
Home Assistant, Hallway, medium size
Medium
Home Assistant, Hallway, tall size
Tall
Home Assistant, Hallway, large size
Large
Home Assistant, Hallway, in chat
In chat
Home Assistant Hallway: Heating
Heating
Home Assistant Hallway: Cooling
Cooling
Home Assistant Hallway: On its schedule
On its schedule
Home Assistant Hallway: A range
A range
Home Assistant Hallway: Temporary hold
Temporary hold
Home Assistant Hallway: Off
Off
Home Assistant Hallway: Unavailable
Unavailable
Home Assistant Hallway: Can't reach it
Can't reach it

What the assistant can use, once its access level allows it. Read tools run freely. Everything else asks first.

ToolAccessWhat it does
home_findreadSearch Home Assistant entities (lights, switches, sensors, media players, scenes…) by name, area word or domain.
home_climatecontrolSet a thermostat (a climate entity marked controllable by home_find): a target temperature in the unit Home Assistant uses, an HVAC mode (off, heat, cool, auto…) or a preset (home, sleep, away…).
home_controlcontrolControl a Home Assistant entity: turn_on / turn_off / toggle (optionally brightness 0-100 and rgb colour for lights), or run a scene/script, or start/return_to_base a vacuum.

What the page’s own buttons and controls can do. They need a signed-in person or a trusted network.

ActionWhat it does
setTurn an entity on or off
choosePick an option of a select entity
pressRun a scene/script, press a button, start/dock a vacuum
lightTurn lights on/off, set brightness (0-100), colour (rgb) or warmth (kelvin)
climateSet a thermostat: target temperature, HVAC mode or preset
vacuumRobot vacuum: start, pause, dock, locate, clean some rooms, or set suction