Skip to content
Home Assistant values

Docs contents

Smart home

Show Home Assistant sensor values

Put a temperature, a battery level or a door status from Home Assistant on a dashboard, using your home connection and no automation.

You’ll have

A Custom block reading 21.5 °C from your living-room sensor, and a battery bar at 76%, that follow Home Assistant as its states change.

You’ll need
  • Denframe with administrator access, in a build that offers Home Assistant values when you add a custom source: install on macOS, on Windows or in Home Assistant.
  • A Home Assistant instance the Denframe host can reach and a long-lived access token for it, or a home already connected in Denframe.
  • A numeric sensor such as sensor.living_room_temperature. Entity names here are examples; choose the actual IDs in your home.
  • A dashboard to show it on: Create your first dashboard.

Follow these steps in your own Denframe. This website never connects to your household, your accounts or your devices, and never asks for your credentials.

  1. Create a Home Assistant token

    If your home is already connected in Denframe, keep that connection and go straight to choosing a value.

    In Home Assistant, open your user profile, go to its Security section and create a long-lived access token named Denframe. Home Assistant shows it once: copy it and keep it private.

  2. Connect your home once

    In Studio, open Sources, then Home, and choose Connect Home Assistant. Enter Home Assistant URL and Long-lived access token, then choose Connect.

    Use the address the Denframe host can reach, such as http://homeassistant.local:8123. The website and your screens never make this connection. HTTP works only on your home network; use HTTPS otherwise.

    Denframe tests the address and token before it saves anything, so a wrong one comes back as an error with the fields still filled in. The token stays on this Denframe and is never shown again; paste a new one to replace it.

    One connection serves every value and every block. A second block never needs another token or connection.

  3. Choose Home Assistant values

    In Studio, open Sources, then Custom, and choose Add a custom source. From the connection methods, choose Home Assistant values.

    If your home isn't connected yet, Denframe asks for Home Assistant URL and Long-lived access token first. Otherwise it loads the connected home's entities: check that the list appears.

  4. Pick the entity and how it reads

    Type part of the name in Find entity, then choose your temperature sensor in Entity. Leave Entity field on State; the sheet shows the entity's current state underneath.

    Set Display name to Living room, Show as to Hero number, Unit to °C and Audience to Household. Start with Fresh for (seconds) at 300.

    Entity field also offers attributes such as Current temperature, but the entity list carries no sample of them, so they can't be previewed. Use State for your first value.

  5. Preview and save the value

    Choose Preview value. For a sensor whose current state is 21.5, the preview shows 21.5 °C. Then choose Save value.

    Under Show on, tick the dashboards to show it on. Only dashboards whose audience allows the value are offered. Choose Add source, or Back to value to change something first.

    If you started from a Custom block you selected in Studio, the value fills that exact block. Otherwise the source can add a new block.

  6. Add a battery bar or a door status

    Repeat Home Assistant values for each entity you want to show, or open Home and use Add display value under Display values. One home connection holds up to eleven display values.

    ValueChooseResult
    BatteryShow as: Range bar; State; unit %; Minimum 0; Maximum 100A numeric state of 76 fills 76% of the bar
    Door contactShow as: Status; State; Normal state off; Warning state onClosed reads as normal only if this entity uses off for closed: check its real states

    To show a value in another block, add or select a Custom block in Studio and choose this source and that value. The first block keeps its own.

    For Status, unknown and unavailable never count as normal, and states you have not mapped show as unavailable.

    Display values are separate from the home's attention rules and the TV bridge: choosing a value creates no attention rule and no TV action.

  7. Check a live update

    Wait for a genuine sensor update in Home Assistant, then look at the block in Denframe: it shows the new value. Unchanged values stay fresh after each successful connection check.

    Don't toggle household devices just to test a display.

    On a disposable Home Assistant test instance, you can add the constant template sensor below, reload Template entities and choose its actual entity ID. Changing the constant and reloading updates the number. Merge it under an existing template: section rather than repeating the top-level key.

    Optional synthetic sensor · configuration.yaml
    template:
      - sensor:
          - name: "Denframe demo temperature"
            unique_id: denframe_demo_temperature
            unit_of_measurement: "°C"
            state: "21.5"

    If Home Assistant stops returning the entity, the value shows as unavailable until it returns; a disconnected source shows as delayed.

If it doesn’t work

No entities appear

Check that the Denframe host can reach Home Assistant and that the token belongs to the intended account. On Home, choose Refresh list, or reopen the value sheet after reconnecting.

A number is unavailable

Choose an entity whose State is a number, not unknown or unavailable. For Status, enter the exact state strings that entity uses.

The preview works but the dashboard hides the value

Check the dashboard's audience in Studio, and choose this source and the exact value in the Custom block.

The setup says the connection already has eleven display values

Remove one under Display values on Home, or choose an existing value from the Custom page.

Official references

Related guides