mawinkler / astroweather-card Goto Github PK
View Code? Open in Web Editor NEWLovalace Card for the AstroWeather Integration
License: MIT License
Lovalace Card for the AstroWeather Integration
License: MIT License
Says to create a custom card with the below, however no device exists called entity: weather.astroweather_LONGITUTE_LATITUDE
Long & Lat are separate entities. Believe the documentation needs to be updated most likely to use weather.astroweather_ds5ss6g7njg1
I followed all of the instructions and am consistantly getting this error no matter what I do:
Custom element doesn't exist: astroweather-card
I have a working instance of your custom card on a different installation running Home Assistant 2021.11.5. The actions for adding resources to lovelace seems different between the two. The working one shows as:
The newer, non working one I have to hack the URL to get into resources as:
hacsIP.local:8123/config/lovelace/resources
the files are there, on docker as:
pi@astrocart:~ $ sudo docker exec -it homeassistant ls -la /config/www/custom-lovelace/astroweather-card/
total 44
drwxr-xr-x 2 1000 1000 4096 Jun 27 16:23 .
drwxr-xr-x 3 1000 1000 4096 Jun 27 16:23 ..
-rwxr-xr-x 1 1000 1000 6715 Jun 27 16:23 astroweather-card-editor.js
-rwxr-xr-x 1 1000 1000 24854 Jun 27 16:23 astroweather-card.js
pi@astrocart:~ $
However, the entity does not show up:
I've installed Astroweather and Astroweather-card through HACS, as well as downloading the necessary files from GitHub. After installing Astroweather-card, I am receiving weather forecasts from Astroweather. However, Home Assistant displays an error stating that the custom element doesn't exist. I've tried various fixes found online, including pressing Ctrl + R to refresh the page and opening up developer tools to perform "Empty Cache and Hard Reload," but the issue persists.
Thank you for any help or insights! I think its a great card and I'd really like to get it working!
I expected a card to be present on the dashboard, displaying information from Astroweather.
Instead, Home Assistant states that the custom element doesn't exist. I have attempted to clear the browser cache and am using Chrome, but the issue persists. Additionally, I've tried refreshing the page (Ctrl + R) and performing "Empty Cache and Hard Reload" in the developer tools.
It seems that the card height is not being reported correctly. Even though it fills the entire height of the screen other cards are still stacked preferentially bellow it.
type: custom:astroweather-card
entity: weather.astroweather_42_995725_147_312578
name: AstroWeather
current: true
details: true
deepskydetails: true
forecast: true
graph: true
number_of_forecasts: '6'
line_color_condition_night: '#eeffff'
line_color_condition: '#f07178'
line_color_cloudless: '#c3e88d'
line_color_seeing: '#ffcb6b'
line_color_transparency: '#82aaff'
Card works when details: false
, but after I set details: true
all card content disapears:
In dev console I can see following error:
astroweather-card.js?hacstag=454670742013:227 Uncaught (in promise) ReferenceError: data_timestamp is not defined
at AstroWeatherCard.renderDetails (astroweather-card.js?hacstag=454670742013:227:20)
at AstroWeatherCard.render (astroweather-card.js?hacstag=454670742013:161:18)
at AstroWeatherCard.update (styles.ts:368:1)
at AstroWeatherCard.performUpdate (styles.ts:368:1)
at AstroWeatherCard.scheduleUpdate (styles.ts:368:1)
at AstroWeatherCard._$EC (styles.ts:368:1)
I have noticed since upgrading to v0.31.0 and after, the graph is not being displayed.
type: custom:astroweather-card
entity: weather.astroweather_home
details: true
current: true
deepskydetails: true
forecast: true
graph: true
number_of_forecasts: '5'
line_color_condition: '#f07178'
line_color_condition_night: '#eeffff'
line_color_cloudless: '#c3e88d'
line_color_seeing: '#ffcb6b'
line_color_transparency: '#82aaff'
Also, just a suggestion - it would be good to have the card version added to the browser console just like some of the other cards in HACS.
Hi, this is great card, thanks for creating it but...
I have widescreen monitor and on my dashboard I use wider cards with width of 400. This creates a slight issue for this card, specifically for the forecast element.
When dashboard's card is this wide, I have to increase forecast day count to at least 9 in order to display vertical icons that corresponds to forecast's elements. This probably has something to do with the formatting of the forecast? I suspect icons are placed in a horizontal line within the table's column? When you increase the number of days, it "squeezes" the column and thus forces all icons to align vertically, am I right?
I know picture says a thousand words and would better illustrate the issue, so here it is:
I hope this helps,
Thanks.
Great work and beautiful card. Thanks.
Would it be possible to show dates in the selected HA format and not in the default lange format?
I am in NZ and the language is EN but the date format we are using is more the European and not Americal with month first, ie
24/10 for 10 October, instead of the American 10/24.
It's setup in the user profile as 24/10 but your JavaScript output in the card uses the standard language format, thus displays as 10/24.
Howdy,
I am trying to install via HACS, it fails on Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble.
I added successfully in HACS, but when installing as an Integration I get the above error.
In your documentation is says it has a dependency of pyastroweatherio but has no info on how to install this?
Noob help please?
Thanks
Major
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.