Slider
A slider card lets you control light brightness, fan speed, or a Home Assistant number value by dragging a vertical fill bar up or down.

For light-only controls, you may prefer the newer Lights card. It groups light switching, brightness, and colour temperature in one card type. Use Slider when you want a simple light, fan, number, or input_number control.
Setting Up a Slider
- Select a card and change its type to Slider.
- Enter an Entity — for example,
light.living_room,fan.office_fan,number.boiler_target, orinput_number.test_level. - Set a Label (optional) — shown at the bottom of the card. If left blank, the entity's friendly name from Home Assistant is used.
- Choose an Off Icon and On Icon. Existing sliders that only had one icon keep using that same icon for both states unless you change it.
How It Works on the Panel
- Drag the slider and release it to send one new value to Home Assistant.
- The current value appears below the card name. Lights show brightness and fans show speed as a percentage.
- While you drag, the value below the name follows the slider. After release, it holds your chosen value for two seconds, then shows the latest value reported by Home Assistant.
- For
numberentities andinput_numberhelpers, the slider uses the minimum, maximum, step, and unit reported by Home Assistant. - A coloured fill bar shows the current level in real time as it rises from the bottom of the card.
- When the entity changes externally (from Home Assistant or another control), the fill bar updates automatically. Number sliders also adapt if Home Assistant changes their range or step.
number.* entities normally belong to a device or integration, while input_number.* entities are helpers created in Home Assistant. EspControl supports both and sends the matching Home Assistant action automatically.
On and Off Icons
Slider cards always have separate Off Icon and On Icon fields. Use the same icon in both fields if you do not want the icon to change while a light or fan is on. Number sliders keep their icon visible while you drag.