RodBr / Plant-Card

A Home Assistant Lovelace card to report MiFlora plant sensors based on the HA Plant Card
10 stars 5 forks source link

"state" error #2

Open Hellcube opened 5 years ago

Hellcube commented 5 years ago

I have an error Home Assistant 0.84.6 plant-card.js:68:41 Uncaught TypeError: Cannot read property 'state' of undefined

Hellcube commented 5 years ago

Found out there is no code to handle intensity entity.

danibiza commented 5 years ago

hello I get this same error in the chrome console. How can I solve that? Thank you image

RodBr commented 5 years ago

hi @danibiza, can you send me the yaml you're using to call the service? This occurs in cards when an invalid sensor name is passed in. I've left this card alone for a long time, but I've just picked it up again to bring it up to date. Thanks

RodBr commented 5 years ago

hi @Hellcube, I'm back using HA and I'm updating the card now. Can you explain the issue with intensity? I'm able to get the graph ok when i click on it. Thanks

Hellcube commented 5 years ago

Hey It's all fine. I had a typo. It's all working as expected :)

    Dnia 19 lipca 2019 02:31 RodBr <notifications@github.com> napisał(a):

     hi  github.com @Hellcube , I'm back using HA and I'm updating the card now.  Can you explain the issue with intensity? I'm able to get the graph ok when i click on it.  

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, github.com view it on GitHub , or github.com mute the thread .

RodBr commented 5 years ago

Hi @Hellcube, have a look at https://github.com/RodBr/miflora-card. I'm in the process of updating and I'll add it to the HACS store if they approve it.