Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🔹 Add sliders to entity cards

License

NotificationsYou must be signed in to change notification settings

thomasloven/lovelace-slider-entity-row

Repository files navigation

Add a slider to rows in lovelaceentities cards.

Installing

hacs_badge

Install using HACS orsee this guide.

Quick Start

Add this to anentities card:

type:entitiesentities:  -light.bed_light  -type:custom:slider-entity-rowentity:light.kitchen_lights

slider-entity-row

Usage

entity can be an entity in one of the following domains:

  • light - set brightness
  • media_player - set volume
  • climate - set temperature
  • cover - set position
  • fan - set speed (assumes first setting isoff)
  • input_number - set value (only ifmode: slider)
  • input_select - select option
  • number - set value
  • timer - set number of seconds remaining

If you want to control more than one entity with the same slider, uselight group,cover group or a custom madetemplate entity.

domains

Available options:

OptionValuesDescriptiondefault
minnumberMinimum value of slider
maxnumberMaximum value of slider
stepnumberStep size of slider selection
toggletrue/falseShow a toggle or mute button if possiblefalse
hide_statetrue/falsetrue: Do not display the current state
false: Always display current state - even when the card is too narrow for it to be usable
none
hide_when_offtrue/falsetrue: Hide slider when state is off
false: Always display slider
false
growtrue/falseMake the slider as wide as possible (which is really just a little bit wider)false
full_rowtrue/falseHide the icon and name and stretch slider to full widthfalse
show_icontrue/falseShow an icon whenfull_row is true. This icon is NOT clickablefalse
attribute(see below)Which attribute the slider should control
colorizetrue/falseColorize the bar (only for some attributes)false
dirltr/rtlUse this to override your languages Right-To-Left or Left-To-Right settinglanguage

Most general Entities row options likename,icon andtap_action et.al. are also supported.

options

YAML code for screenshot above
type:entitiestitle:Optionsentities:  -type:custom:slider-entity-rowentity:light.bed_lightname:Default  -type:custom:slider-entity-rowentity:light.bed_lightname:toggletoggle:true  -type:custom:slider-entity-rowentity:light.bed_lightname:hide_statehide_state:true  -type:custom:slider-entity-rowentity:light.ceiling_lightsname:hide_when_offhide_when_off:true  -type:custom:slider-entity-rowentity:light.ceiling_lightsname:hide_when_off + togglehide_when_off:truetoggle:true  -type:sectionlabel:full_row  -type:custom:slider-entity-rowentity:light.bed_lightname:hide_statefull_row:true

Attribute

Currently, the following attribute settings are supported.

Forlight domain:

  • brightness_pct - default
  • brightness
  • color_temp
  • hue
  • saturation
  • red
  • green
  • blue
  • effect
  • white - for RGBW lights only
  • cold_white - for RGBWW lights only
  • warm_white - for RGBWW lights only

Forcover domain:

  • position - default
  • tilt

Buy Me A Coffee

About

🔹 Add sliders to entity cards

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp