Comments (9)
I would love to see this as well.
tbh, also name without icon
from lovelace-time-picker-card.
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
from lovelace-time-picker-card.
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
[edit: added both ways]
from lovelace-time-picker-card.
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.
1.3.0 makes no difference. I am running HA in docker of that helps at all?
from lovelace-time-picker-card.
@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:
- type: custom:time-picker-card
entity: input_datetime.test_date_time
layout:
name: inside
- type: custom:time-picker-card
entity: input_datetime.test_date_time
layout:
name: inside
align_controls: right
hide:
icon: true
- type: custom:time-picker-card
entity: input_datetime.test_date_time
layout:
name: inside
hide:
icon: true
name: true
from lovelace-time-picker-card.
@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.
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.
The icon still shows on my iOS devices.
from lovelace-time-picker-card.
@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)
- White border surrounding card when used in grid HOT 7
- Time values not showing HOT 2
- Maintain left and right padding when embedded HOT 5
- Add last update as secondary info/line HOT 1
- Add tap action when embedded in entities HOT 1
- Is it possible to embed in a entities ? HOT 1
- Find out how the feature works : more info dialog HOT 3
- Need update for borders in HA 2022.11.0 when embedded
- Hide icon not working in companion HOT 2
- Delay setting HOT 9
- More compact look when embedded HOT 1
- Visual Editor crashes when trying to add an action HOT 3
- Duration picker
- Background color not displaying correctly
- Change the font
- Increase minute_step by 2 or 5 when holding down on chevron
- Specifying color, a little help?
- Add compatibility with binary_sensors Times of the day sensor options HOT 1
- Actions don't work?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-time-picker-card.