Skip to content
Home Assistant ContributorsHome Assistant Contributors

Start here

  • Get started

Build the software

  • Core and integrations
  • Frontend
  • Apps
  • Marketplace
  • Companion apps
  • OS and Supervisor

Design, write, translate

  • Design
  • Brand
  • Writing docs
  • Translations

Run the project

  • Community
  • Releases
  • Roadmap
  • Events and calendar

Understand how it works

  • Architecture
  • Security
  • Data
  • Glossary
HomeBlog
Blog

    ↑↓ to moveEnter to openEsc to close
    • Overview
    • Your first contribution
    • Development
      • Overview
      • Set up the environment
      • Run the frontend
      • The gallery and the demo
      • Coding guidelines
      • Linting and tests
      • Builds
      • Open a pull request
      • Review and release
    • Architecture
      • Overview
      • Components and Lit
      • The hass object and contexts
      • The data layer
      • Translations in the frontend
      • Theming and design tokens
      • Routing and panels
    • Custom cards and more
      • Overview
      • Register resources
      • Custom cards
      • Card editor and picker
      • Custom card features
      • Custom badges
      • Custom strategies
      • Custom views
      • Custom panels
    • Extend the frontend
      • Overview
      • Add a more-info view
      • Add a state card
      • Add a WebSocket command
    • Reference
      • Overview
      • Commands
      • The hass object
      • External authentication
      • External bus
    1. Contributors
    2. Frontend
    3. Frontend reference
    Frontend
    • Overview
    • Your first contribution
    • Development
      • Overview
      • Set up the environment
      • Run the frontend
      • The gallery and the demo
      • Coding guidelines
      • Linting and tests
      • Builds
      • Open a pull request
      • Review and release
    • Architecture
      • Overview
      • Components and Lit
      • The hass object and contexts
      • The data layer
      • Translations in the frontend
      • Theming and design tokens
      • Routing and panels
    • Custom cards and more
      • Overview
      • Register resources
      • Custom cards
      • Card editor and picker
      • Custom card features
      • Custom badges
      • Custom strategies
      • Custom views
      • Custom panels
    • Extend the frontend
      • Overview
      • Add a more-info view
      • Add a state card
      • Add a WebSocket command
    • Reference
      • Overview
      • Commands
      • The hass object
      • External authentication
      • External bus

    Frontend reference

    Commands, the hass object, and the bridge between the frontend and the companion apps. The details you look up.

    • Commands: every pnpm command of the frontend repository, with its port.
    • The hass object: its properties, methods, and formatters.
    • External authentication: how an app that embeds the frontend provides the access token.
    • External bus: the messages between the frontend and the companion apps.
    Was this page helpful?

    • Give feedback(opens in a new tab)
    • View feedback(opens in a new tab)
    Edit this pageView history

    Last updated on October 12, 2026.

    PreviousAdd a WebSocket commandNextCommands
    Home Assistant Contributors

    Home Assistant is a project of the Open Home Foundation.

    Contribute

    • Get started
    • All areas
    • Glossary
    • Data and analytics
    • Code of conduct
    • Contributor License Agreement

    Stay up to date

    • Blog
    • Blog RSS feed
    • Newsletter
    • Integration alerts
    • System status

    More Home Assistant

    • Home Assistant
    • Community forum
    • Creator Network
    • Works With Home Assistant

    This website uses privacy-first analytics to help us improve the site. You can view all data in our public dashboard.

    • Privacy
    • Security
    • Source on GitHub
    Deploys by Netlify