My Lovelace Plugins

Awesome!

What is needed to get the on/off/weekdays options to work?

I don’t know… some automations… appdaemon if you feel comfortable with that, perhaps?

It’s just a number of dummy switches and inputs I made for demonstration. They aren’t connected to anything :sweat_smile:

Hey,

how can you track your skoda? I thought the skoda connect plugin doesn’t exist!

With satellite

Hi

I’m trying to use the lovelace-player plug-in but i can’t get it to work on my android device.
I’m successfully able to retrieve the device id for chrome then update the lovelace-player-config.js with it as below :

setTimeout(function() {

  // Add your bindings here
  // Example:
  LovelacePlayer.bind("media_player.emilie_bedroom", "00db073-5faba8b1");

  // Remove this line when you found your Device ID
  //LovelacePlayer.debug();
}, 200);

The media player is visible at /dev-state in Hass but always idle. If i try to interact with it (on/off , next track), i get the following error in the log.

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 226, in _handle_service_platform_call
await func(entity, data)
  File "/data/data/com.termux/files/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
  File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/homeassistant/components/media_player/__init__.py", line 504, in mute_volume
raise NotImplementedError()
NotImplementedError

Any hint how to solve this ?

edit: solved - error in the device_id.

Thank you

Is something like this possible with slider-entity-row?



If not, any chance of something like this in the future? :slightly_smiling_face:

1 Like

That’s proven to be a tough one… I think your best bet is an actual feature request to home-assistant.

OK, thanks.

…one other question :slightly_smiling_face:

I have ‘show_value: true’ for most of my lights. Is it possible to show the percent symbol % after the dimmer value?

The slider entity row was long due for an update

Some prettification, added support for media_player and cover, but also changed the customization options - BREAKING CHANGES.

7 Likes

Looks great! :heart:

I’m missing the hide_when_off option for lights.

I guess this answers my question from yesterday, looks great :blush:


I’m trying to achieve this one showing the light toggle, with slider and brightness percent underneath




It my code for that correct?

  - type: custom:slider-entity-row
    entity: light.office_light
    full_row: true

As this is that I get with that.

Try this:

- entity: light.office_light
  name: Office light    
- type: custom:slider-entity-row
  entity: light.office_light
  full_row: true
1 Like

Would be nice if the toggles fit with normal toggles.
Auswahl_002

That works, thanks!

@thomasloven Is it not possible to hide the slider and brightness percentage when the lights turned off? I tried ‘hide_when_off: true’, but didn’t work.

This is so GREAT!
I combined the slider-entity-row with the fold-entity-row for a cover.
Auswahl_004

Auswahl_005

      - id: d5d7a997d13c4da9883d28326c0f66d6  # Automatically created id
        type: entities
        title: Cover Test1
        entities:
          - entity: cover.test1
            name: Test1
          - type: custom:fold-entity-row
            head:
              type: custom:slider-entity-row
              entity: cover.test1 
              full_row: true
            items:
              - entity: input_number.cov_test1_duration
                name: Duration
              - entity: input_number.cov_test1_offset
                name: Offset
              - entity: input_number.cov_test1_counter
                name: Counter

VERY Happy with it! :heart:

3 Likes

The toggles are fixed.

I also added back the hide_when_off option, but - serious question - can anyone tell me why you’d want that? Do you only want to be able to adjust brightness, and to turn it off? Never on again? Never on directly to a defined value?

1 Like

Well, it turns on with the last set value and then i can adjust it.
I like the slider hidden when it’s off.
THANKS for it and fixing the toggles.

For me I have quite a few lights that I rarely control manually, they’re timed to come on and go off.

But when they are on I like to see the brightness level/percent (make sure they’re working as they should). Also, hiding the sliders when they’re off looks cleaner, and doesn’t take up as much space.

I rarely use the sliders, which is why I enquired about just showing the brightness value/percentage below the lights previously :slightly_smiling_face: