lovelace-slider-entity-row icon indicating copy to clipboard operation
lovelace-slider-entity-row copied to clipboard

New Feature: Allow for icon: none

Open jgclark opened this issue 2 years ago • 1 comments

Requesting a new feature.

My Home Assistant version: 2022.3.7 My lovelace configuration method (GUI or yaml): yaml What I am doing: trying to hide icon without using full_row What I expected to happen: set icon: none and the text would start at the left What happened instead: Screenshot 2022-03-27 at 13 20 34

Minimal steps to reproduce:

type: entities
entities:
  - type: custom:slider-entity-row
    entity: light.study_spots_zha_group_0x0003
    attribue: color_temp
    name: Brightness
    icon: none
state_color: true

By putting an X in the boxes ([X]) below, I indicate that I:

  • [x] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • [x] Have made sure I am using the latest version of the plugin.
  • [x] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • [x] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

jgclark avatar Mar 27 '22 12:03 jgclark

What I expected to happen: set icon: none and the text would start at the left

The behaviour that you expected is not supported and not described in the docs. Probably you need to ask for a NEW FEATURE and rename the issue correspondingly.

ildar170975 avatar Mar 27 '22 20:03 ildar170975

May I can add an additional option to this? -- It would be great, if we could enable / disable either text, icon or both (the last one would be slightly the same as full row)...

Why? I would like to add the icon, but not the name... others would like to add the name, but not the icon. So having both as option, would be the most flexible way I think :)

ChristophCaina avatar Nov 30 '22 22:11 ChristophCaina

Everything to the left of the slider is handled by Home Assistant itself and will only have the features any other row has.

thomasloven avatar Dec 26 '22 00:12 thomasloven