ironsheep / lovelace-lightning-detector-card

A Lightning Detection Display Card for Home Assistant Lovelace
MIT License
23 stars 2 forks source link

Started and Latest dates not working #6

Open rbouma opened 3 years ago

rbouma commented 3 years ago

Checklist:

Release with the issue: v1.0.3

Last working release (if known):

Browser and Operating System: Raspberri Pi OS

Description of problem:

Started and Latest dates not working

cring:

{
    "prings": {
        "timestamp": "2021-04-19T20:23:04+02:00",
        "last": "2021-04-19T20:15:58+02:00",
        "first": "2021-04-19T20:13:04+02:00",
        "storm_last": "2021-04-19T20:15:58+02:00",
        "storm_first": "2021-04-19T20:13:04+02:00",
        "end_minutes": 30,
        "period_minutes": 5,
        "units": "km",
        "out_of_range": 0,
        "ring_count": 5,
        "ring_width_km": 7.0,
        "ring0": {
            "count": 2,
            "distance_km": 0,
            "from_units": 0.0,
            "to_units": 4.9,
            "energy": 157072
        },
        "ring1": {
            "count": 1,
            "distance_km": 5.0,
            "from_units": 5.0,
            "to_units": 11.9,
            "energy": 187379
        },
        "ring2": {
            "count": 1,
            "distance_km": 12.0,
            "from_units": 12.0,
            "to_units": 18.9,
            "energy": 17851
        },
        "ring3": {
            "count": 2,
            "distance_km": 19.0,
            "from_units": 19.0,
            "to_units": 25.9,
            "energy": 10580
        },
        "ring4": {
            "count": 0,
            "distance_km": 26.0,
            "from_units": 26.0,
            "to_units": 32.9,
            "energy": 0
        },
        "ring5": {
            "count": 0,
            "distance_km": 33.0,
            "from_units": 33.0,
            "to_units": 40.0,
            "energy": 0
        }
    }
}

image

ironsheep commented 3 years ago

Thanks for letting me know. Gimme a day or two to switch projects and look into this. More soon!

rbouma commented 3 years ago

any new information on this?

it will be nice if it can be fixed soon

jordansorenson commented 3 months ago

I know this is 3 years ago but there is still an issue with the Started and Latest. I tried to figure it out myself but before I look deeper I wanted to check and see if anyone had already solved this issue or if there was still any development going on with this?