Comments (6)
The weather card works, your setup is just not right.
Please share your complete config including paths you placed the files and resources config.
from custom-ui.
I placed all files from the repo under /config/www/custom-lovelace/weather-card
, that includes:
weather-card-editor.js
weather-card.js
and a folder icons, with all the animated svg icons inside.
I added the resources to the very top of the ui-lovelace.yaml
in the config folder:
resources:
- url: /local/custom-lovelace/weather-card/weather-card.js
type: module
title: Home
views:
- badges: []
cards:
- entity: light.nightlight
name: Nightlight
type: light
# ... more devices ...
The UI element has been added via the UI configuration by selecting manual card.
Did I link the resources section in the wrong file?
from custom-ui.
Do you have:
lovelace:
mode: yaml
in configuration.yaml
?
from custom-ui.
You can't use ui-lovelace.yaml
and the UI editor at the same time. If you use the UI editor add the resources with the raw config editor in the UI.
from custom-ui.
Alright, I added the resource via the raw config editor in the UI.
I also made sure that mode: yaml
is not set in the configuration.yaml
When I do that I don't get the custom card error but the card just stays invisible.
Nothing is showing up on the UI. What could cause this?
from custom-ui.
Cleared the cache? Any errors in the console?
from custom-ui.
Related Issues (20)
- not working in 0.88.0 HOT 3
- Card day names are one day behind HOT 1
- Not working on 0.88.1 (chrome) HOT 3
- Add support for custom_updater HOT 5
- Current readings from weather station
- not working on Firefox 65 HOT 5
- Blank Swiper Card HOT 1
- How do I remove certain items? HOT 1
- Error ttributeError: 'NoneType' object has no attribute 'json'
- Main icon -moon phase? HOT 2
- Summary available? HOT 7
- Time for Hourly? HOT 1
- [Feature Request] Compatibility with hacs ? HOT 7
- custom updater depricated, please add this to HACS HOT 1
- Low resolution icons in safari HOT 3
- Weather Card: Sunrise sunset time in AM/PM format. How to change to 24HR format?
- Weather Card doesn't work with Home Assistant Cast HOT 2
- Problem with dynamic script loading? HOT 1
- Rainfall in mm at the bottom
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 custom-ui.