Dimmer slider on Overview page

Is it somehow possible to display a dimmer slide in the overview page directly (without having to click on a item to display the pop up dialog)?

You can use an input_number and an automation.

1 Like

Thanks. Could you give me an example please… I’m a newbie! :slight_smile:

input_numbers.yaml:

brightness:
  name: Brightness
  initial: 0
  min: 0
  max: 255
  step: 1
  icon: mdi:brightness-5

automations.yaml:

- id: brightness
  alias: 'Brightness'
  trigger:
    platform: state
    entity_id: input_number.brightness
  action:
  - service: light.turn_on
    entity_id: light.your_light
    data_template:
      brightness: "{{ states('input_number.brightness') | int }}"
2 Likes

Thanks. It worked like a charm.
I wish we didn’t have to write sth like this though.

1 Like

Actually it is possible with lovelace dashboard but adding a light card
- type: light
entity: light.fibaro_system_fgd212_dimmer_2_level_4

Hi,

Sorry can you tell me where you put this? I’m still getting my head around the yaml stuff, I have configured my overview page to show a few groups of things but the light lacks the slider. Did you add a light card to a group or in the configuration.yaml? Or somewhere else?

I will try with the automation but I thought if this card works it’s a little less complicated.

Use the add button to add it and then see the yaml generated.

1 Like

Thanks for the speedy reply.

I don’t have the add button on the overview page. I’m using the hassio install, have you installed another editor as an addon or something? Or am I just missing something obvious? The only thing I can think of is the group config I’ve done?

Ah found it, I had to click the dropdown top right and select configure UI.

Thanks!

Hello. I created the input_numbers.yaml file and entered !Include in my configuration.yaml. But unfortunately hassio returns an error on integration of input. Can you tell me how to solve? Thanks.

Not without the actual error and relevant config pasted here.

Convalida della configurazione
Convalidare la configurazione se di recente sono state apportate alcune modifiche alla configurazione e si desidera assicurarsi che sia tutto valido
Configurazione non valida
Component error: input - Integration input not found.

I use a customer slider entity row that works well for this - link here:

image

Come to think of it, there’s also a light-entity-card I use for colored lights, but does have brightness slider as well.

image

Hola, consulta, se puede usar algo así para un ventilador de techo y cuál seriá el hardware

Hi, i added the input_numbers.yaml and the automations.yaml succesfully. I can see in:


But it is still not a slider :slight_smile: How do I add a slider in an Entities Card Configuration?

You have to use the input_numbers.brightness, not the automation.brightness.

Like this:?

I have:
image

image

EDIT: I created a file input_numbers.yaml next to configurations.yaml :relaxed:

EDIT2: need to put in configurations.yaml :-):