Giter VIP home page Giter VIP logo

Comments (3)

golles avatar golles commented on June 11, 2024

Thanks for reporting, I noticed it as well.

JSON, for future reference and to make a test for a fix:

{
    "liveweer": [
        {
            "plaats": "Purmerend",
            "timestamp": "1698829983",
            "time": "01-11-2023 10:13",
            "temp": "12.8",
            "gtemp": "10.8",
            "samenv": "Geheel bewolkt",
            "lv": "92",
            "windr": "Zuid",
            "windrgr": "180",
            "windms": "6",
            "winds": "4",
            "windk": "11.7",
            "windkmh": "21.6",
            "luchtd": "998.4",
            "ldmmhg": "749",
            "dauwp": "12",
            "zicht": "24",
            "verw": "Af en toe zon en enkele buien. Morgen veel wind",
            "sup": "07:34",
            "sunder": "17:12",
            "image": "bewolkt",
            "d0weer": "bewolkt",
            "d0tmax": "14",
            "d0tmin": "9",
            "d0windk": "4",
            "d0windknp": "16",
            "d0windms": "8",
            "d0windkmh": "30",
            "d0windr": "Z",
            "d0windrgr": "180",
            "d0neerslag": "4",
            "d0zon": "16",
            "d1weer": "regen",
            "d1tmax": "13",
            "d1tmin": "10",
            "d1windk": "4",
            "d1windknp": "12",
            "d1windms": "6",
            "d1windkmh": "22",
            "d1windr": "Z",
            "d1windrgr": "180",
            "d1neerslag": "80",
            "d1zon": "20",
            "d2weer": "regen",
            "d2tmax": "11",
            "d2tmin": "7",
            "d2windk": "3",
            "d2windknp": "10",
            "d2windms": "5",
            "d2windkmh": "19",
            "d2windr": "Z",
            "d2windrgr": "180",
            "d2neerslag": "90",
            "d2zon": "20",
            "alarm": "1",
            "alarmtxt": "Voor vandaag zijn er geen waarschuwingen. Donderdag veroorzaakt storm Ciarán veel wind. M.u.v. het noordoosten worden vanaf de tweede helft van donderdagochtend zware windstoten verwacht van 75-90 km/uur, in de kustgebieden van 90-100 km/uur. In het Waddengebied en rondom het IJsselmeer zijn in de middag en avond zeer zware windstoten van 100-110 km/uur mogelijk. De windstoten komen uit een zuidelijke richting. In de loop van donderdagavond beperken de zware windstoten zich tot de kustgebieden. In de nacht naar vrijdag neemt de wind verder af."
        }
    ]
}

from ha-knmi.

HiDiHo01 avatar HiDiHo01 commented on June 11, 2024

Here some code for a conditional knmi warning card with formatting (replace the entity name with your own)
This also replaces "á"with "á"

type: conditional
conditions:
  - entity: binary_sensor.knmi_waarschuwing
    state: 'on'
card:
  type: markdown
  content: >-
    <h1><ha-alert title="KNMI
    Waarschuwing"></h1><h2>{{state_attr("binary_sensor.knmi_waarschuwing",
    "Waarschuwing")|replace('Waarschuwing ', '')|replace('     ',
    '\n\n\n')|replace('  ', '\n\n')|replace('á', 'á')}}

from ha-knmi.

golles avatar golles commented on June 11, 2024

Content issues have been reported to the supplier, please re-open if you see this again.

from ha-knmi.

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.