There are 2 template files. How do you embed the Minimalist templates in your dashboard?
No, I mean the path in your Yaml dashboard, sth. like this:
button_card_templates: !include_dir_merge_named 00_templates/
title: Homezone
views:
- !include 01_panelansicht/_panel_home.yaml
âŠ
âŠ
my ui-lovelace.yaml
button_card_templates: !include lovelace/minimalist_templates/button_card_templates.yaml
popups_templates: !include lovelace/minimalist_templates/popups_templates.yaml
custom_card_paddy_welcome: !include lovelace/minimalist_templates/custom_card_paddy_welcome/custom_card_paddy_welcome.yaml
title: 'Home'
views: !include_dir_merge_list lovelace/views/
Mmh, ok, never before saw this way of including.
Are the popup card templates actually working?
I would use button_card_templates: !include_dir_merge_named minimalist_templates/
Thanks Pedolsky !
I wrote the paths as indicated in your message and it works.
I followed your custom_card. It works in the main lines but I have an error for the weather_provider.
Where does the problem come from ?
you drop you view files in there, how do they begin? because it needs a list, do they have to start with a -
?
could you please screenshot the folder and a first file in there?
Asking because right now I have my structure explicitly named, and Id love to simply drop in a view-file and it getting automatically displayedâŠ
update
nevermind me, I got it to work. sorry for bothering.
Very simple question:
- type: 'custom:button-card'
template: vertical_buttons_custom_state
variables:
state: Bedroom
color: red
entity: light.light_1
icon: 'mdi:sofa'
Canât get the icon to be red!
Because you defined the state wrong. Insert âonâ.
Sorry, but I didnât understand.
Show me all code
template: vertical_buttons_custom_state
variables:
state: 'on'
color: red
entity: light.light_1
icon: 'mdi:sofa'
label: Bedroom
What is your entity for the weather? Something like? sensor.****_outdoor_temperature
my entity fot the weather is :
cards:
- type: 'custom:button-card'
template: custom_card_welcome_scenes
variables:
ulm_custom_card_paddy_welcome_time: sensor.time
custom_card_paddy_welcome_with_weather: weather.city ###(for example)
I tried with
sensor.city_temperature
But itâs a same thing
Hello,
Canât find the answer anywhere⊠but how do i create a people count sensor ? I want to add the chip, but canât find any solution. I want to add my wife and if, i have the devices tracker but i donât know how to add a customer sensor with the right valuesâŠ
Thanks for your help
This thread is just becoming quite unreadable as different questions are getting mixed up
You can create a template sensor for counting persons for example like this:
- platform: template
sensors:
persons_at_home:
friendly_name: 'Persons at Home'
value_template: >
{{ [states.person.PERSON1, states.person.PERSON2]
| selectattr('state', '==', 'home') | list | count }}
Who controls the community page, is there a way to get a subforum created for this? 1,000 replies are a lot to read and search through to figure things out.
Hi,
Iâve created a card adapted from the Simple thermostat card (above), to work with my heat pump system, as the current thermostat cards donât handle all the possibilities of the HVAC component.
The bottom row uses the widget icon
component. For now, Iâve hard coded the colors of the widgets, but Iâd like to match the above by only displaying color when the mode is selected. Iâm unsure of how to handle it as the widget does not have state
, as far as I know.
Any hint would be appreciated, thanks.