GithubHelp home page GithubHelp logo

Comments (6)

bramkragten avatar bramkragten commented on August 15, 2024 1

This should be fixed in v1.3.1

from weather-card.

bramkragten avatar bramkragten commented on August 15, 2024

Please provide some information:

  • What browser do you use?
  • Does it work in a different browser?
  • Are there any errors in the console?

from weather-card.

P-Verbrugge avatar P-Verbrugge commented on August 15, 2024

I use Safari on a Mac. I noticed just now it works in Chrome on the Mac.

The console is Safari gives these JS errors:
[Error] SyntaxError: Unexpected token '='. Expected an opening '(' before a method's parameter list. [Error] Unhandled Promise Rejection: /community_plugin/weather-card/weather-card.js (anonieme functie) rejectPromise

When I downgrade to 1.2.1 the console errors are gone.

from weather-card.

Maikl3 avatar Maikl3 commented on August 15, 2024

Some problem.

Custom element doesn't exist: weather-card.
{
"type": "custom:weather-card",
"entity": "weather.dark_sky",
"name": "weather"
}

i'm using HASS.io 0.98.1
hacs 0.13.2
weather card plugin 1.3.2

according to instructions
In RAW config add

  • url: /community_plugin/weather-card/weather-card.js
    type: module

browser maxthon. But google chrome is the same.

from weather-card.

bramkragten avatar bramkragten commented on August 15, 2024

Logs?

from weather-card.

Maikl3 avatar Maikl3 commented on August 15, 2024

I found only the log of Home assistent itself. If you need more, tell me where to look.

http://192.168.1.36:8123/community_plugin/weather-card/weather-card.js:1:11 Uncaught SyntaxError: Unexpected token import

from weather-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.