Skip to content
HomePanel Studio HomePanel Studio Back to website

Add and customize a light

Make a Light widget for one of your rooms. Start from a preset, give it a useful name, then adjust the elements and appearance to suit your dashboard.

Light widgetIncluded in FreeVisual editor

Open a canvas in the editor. To start fresh, choose New canvas in the Canvas Library, give it a name and select Create. Your Home Assistant connection should be set up, with a light available to select.

The controls available on the finished widget depend on the light: a dimmable light can expose brightness, while color and color temperature need support from the device.

Select Add (+) at the bottom of the left panel, then choose Light. Pick a preset that gives you a useful starting layout. We use Signal in this walkthrough, but you can start with any design you like.

Use Select Entity to choose your Home Assistant light, leave Placement on Canvas for this first widget, and select Add Light.

HPS Add dialog with Light selected, Signal chosen, Reading Lamp assigned and Canvas placement selected
Choose a starting design, then assign the light and its placement. These are all presets of the same Light widget.

Different presets are different designs of this same Light widget. Choosing a horizontal preset doesn’t prevent you from changing the arrangement later.

Select the new widget on the canvas. In the right panel, use Custom Label to give it a name that makes sense in the room. We’ve called ours Reading corner.

Open Content and decide what you want to see. Keep the label and icon, and show the brightness if it’s useful. Hide details you don’t need on your everyday dashboard, such as the entity ID.

Custom Label set to Reading corner and the Light Content switches for label, icon, brightness, entity ID and state text
Keep the information you use. This example shows the name, icon, brightness and state, with the entity ID hidden.

Each element has its own controls. Open the settings beside the label or icon to change its size, color or position. Leave room between the label, icon and brightness display, especially if the name might be longer on another light.

Try Label Settings first. Change Label Size, then adjust Label X Position and Label Y Position. Watch the label move without dragging the icon or brightness bar along with it. Our example uses 20 px, X 25% and Y 25%; choose values that suit your own card.

Label Settings showing a 20 px bold label with X and Y positions at 25 percent beside the customized Light card
The label has its own size, color, anchor and position. The icon and brightness control stay where they are.
Can’t find Content?

Switch Edit State to On. Content is shared by the widget and is hidden while you’re editing its Off appearance.

Use Visual Style to choose how the light’s fill is displayed. Horizontal Bar and Vertical Bar give brightness its own track. Other fill modes let the light’s state appear within the card itself.

Keep Horizontal Bar for this example and open Fill Settings. Change the bar’s width, thickness and position to fit the space beneath your label. Here we’ve used Bar Width 80%, Bar Height 18 px and Bar X Position 10%.

Fill Settings showing an 80 percent wide, 18 px high brightness bar at X position 10 percent
Reshape the brightness control separately from the text and icon. Its filled length still follows the displayed brightness.

The active fill and the background are separate. Change Background Fill to style the surface behind the label, icon and control. Use a chosen color for a consistent room palette, or entity color when you want the widget to reflect the light’s color.

For the surface shown here, turn Use Entity Color off, choose Solid, and set Background Fill Color to #243A49. Leave Dynamic Color Intensity off to keep this surface consistent as the light dims.

Background Fill popover with a solid chosen color, entity color off and dynamic color intensity off
The background uses a chosen blue-gray color. It is independent of the cyan brightness bar.

Open the element or fill settings to adjust positions and proportions. You can move the label, resize the icon and reshape the brightness control independently. Check the whole composition after each change.

Under Effects & Surface, adjust the border, glow and corners as needed. Start with a clear, readable card; add effects when they help it fit the rest of your design.

Set Preview to Edit State and Edit State to On. Use Simulate Brightness to check the design at low and high levels. Keep the label and brightness readable throughout the range.

Light editor with Preview set to Edit State, On selected and Simulate Brightness at 25 percent
Check a dimmed appearance in the editor. Simulate Brightness changes the design preview, not the physical light.

If the background becomes too dark when you dim the simulated light, check its dynamic intensity settings. A higher minimum can keep a pale surface readable without changing the real bulb’s brightness.

Then set Edit State to Off. Decide whether the widget should keep the On background or use a separate Off treatment:

  • Turn Override Background off to inherit the On background.
  • Leave it on to choose a different background for Off.

Check the icon, label and remaining text against that background. An Off widget can keep a light surface; it doesn’t need to become a dark tile.

Light editor with Off selected and Override Background turned off while the card retains its blue-gray surface
With Override Background off, the surface is inherited. The Off text and icon treatment still distinguish the state.
Design preview and device control are different.

Edit State and Simulate Brightness let you check the design without switching the light. The interactive dashboard preview can control the real device.

Changes save automatically. Check the save indicator beside the canvas name before leaving; you can also select that save icon to save immediately. Reopen the canvas to check the result.

Choose Save Preset if you’d like this design as a starting point for another Light widget. Under User Presets, select + Create New, give the design a name, then select Save preset. It will appear in your personal collection.

Save widget preset dialog with the Reading corner Docs design saved under User Presets
The saved design is now available in User Presets. Use it as the starting point for another Light widget.

If you’re restyling lights that are already on the dashboard, use Copy Style instead so each one can keep its own device assignment and label.

Color or temperature controls are missing. Check what the selected Home Assistant light supports. Those controls aren’t available on every device.

The widget doesn’t show the state you’re editing. Set Preview to Edit State. Live follows the physical device even when you’re editing a different appearance.

Text overlaps after resizing. Recheck each element’s size and position at the new card dimensions. A preset’s layout is editable, so you can give a longer label more room or hide an unnecessary readout.

Walkthrough screenshot

Open original ↗