Giter Site home page Giter Site logo

Comments (9)

 avatar commented on August 20, 2024

I would love to see this as well.

tbh, also name without icon

from lovelace-time-picker-card.

GeorgeSG avatar GeorgeSG commented on August 20, 2024

Hi @kajmaj and @jchhenderson.

This is a very very late response 😅 , but both are possible with the hide option:

# show only icon
- type: custom:time-picker-card
  entity: input_datetime.test_date_time
  layout:
    name: inside
  hide:
    name: true
# show only name
- type: custom:time-picker-card
  entity: input_datetime.test_date_time
  layout:
    name: inside
  hide:
    icon: true

image

from lovelace-time-picker-card.

 avatar commented on August 20, 2024

it doesn't work for me though - no clue why...

- type: custom:time-picker-card
  entity: input_datetime.hive_heating_1_on
  layout:
    name: inside
  hide:
    name: true
- type: custom:time-picker-card
  entity: input_datetime.hive_heating_1_on
  layout:
    name: inside
  hide:
    icon: true

Screenshot 2022-11-03 at 16 27 43

[edit: added both ways]

from lovelace-time-picker-card.

GeorgeSG avatar GeorgeSG commented on August 20, 2024

Hm, that's strange. I just released Version 1.3.0 that refactors part of that logic. Let me know if this fixes your problem.

from lovelace-time-picker-card.

 avatar commented on August 20, 2024

1.3.0 makes no difference. I am running HA in docker of that helps at all?

from lovelace-time-picker-card.

GeorgeSG avatar GeorgeSG commented on August 20, 2024

@jchhenderson I am unable to reproduce this in 1.3.0. Also running HA in docker.

Here are some example configs and screenshots from my test environment:

Screenshot 2022-11-03 at 19 13 35

- type: custom:time-picker-card
  entity: input_datetime.test_date_time
  layout:
    name: inside

Screenshot 2022-11-03 at 19 15 20

- type: custom:time-picker-card
  entity: input_datetime.test_date_time
  layout:
    name: inside
    align_controls: right
  hide:
    icon: true

Screenshot 2022-11-03 at 19 16 07

- type: custom:time-picker-card
  entity: input_datetime.test_date_time
  layout:
    name: inside
  hide:
    icon: true
    name: true

from lovelace-time-picker-card.

GeorgeSG avatar GeorgeSG commented on August 20, 2024

@jchhenderson there was an issue with 1.3.0 packaging in Github. I just pushed 1.3.1, please try upgrading to that, clearing cache and let me know if that helps :)

from lovelace-time-picker-card.

 avatar commented on August 20, 2024

OK, extra information for you - I am using Safari on a Mac.

OK, 1.3.1 codes the icon, but positioning is as if it is still there.
Screenshot 2022-11-03 at 18 23 37

The icon still shows on my iOS devices.

from lovelace-time-picker-card.

GeorgeSG avatar GeorgeSG commented on August 20, 2024

@jchhenderson for the iOS devices, this is most probably a caching problem.

I've tested this in Safari, and unfortunately I cannot reproduce your issue. I would suggest double checking that you are not using a cached version and trying to set up the card in an isolated view to see if that works

from lovelace-time-picker-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.