Closed Tosko4 closed 10 months ago
Thanks for implementing auto change theme.
I have added this theme code to lovelace ui but it isnt working, any idea why? I have been trying to implement the theme for days but havn't been able to find a solution.
Surprisingly it works in dashboard if built by GUI editor ( raw file editor) , but I prefer to do via minimalist and studio code server.
Any Advise?
---
button_card_templates: !include_dir_merge_named "../../custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/"
title: "My new dashboard"
theme: "minihass"
background: "var(--background-image)"
# views: !include_dir_merge_list "views/"
views:
- !include views/homehass.yaml
resources:
- url: /www/community/button-card/button-card.js
type: module
- url: https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&display=swap"
type: css
Thanks for implementing auto change theme.
I have added this theme code to lovelace ui but it isnt working, any idea why? I have been trying to implement the theme for days but havn't been able to find a solution.
Surprisingly it works in dashboard if built by GUI editor ( raw file editor) , but I prefer to do via minimalist and studio code server.
Any Advise?
--- button_card_templates: !include_dir_merge_named "../../custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/" title: "My new dashboard" theme: "minihass" background: "var(--background-image)" # views: !include_dir_merge_list "views/" views: - !include views/homehass.yaml resources: - url: /www/community/button-card/button-card.js type: module - url: https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&display=swap" type: css
Hej, did you follow these steps? https://github.com/fredrikpersson92/minihass#install-theme
Also, I think you need to change your line with button card templates to something like this: button_card_templates: !include_dir_merge_named "/config/ui_lovelace_minihass/templates/" (and ofc create the neccesary folder structure). What you have now is for UI Minimalist.