petergridge/Irrigation-V5

card error (Can not read properties of undefined (reading 'attributes'))

L0bit0 opened this issue · 7 comments

Hi

NOTE: even issue looks on the card I feel it is not working since last integration update.

Issue:

  • Card is giving an error:
    image
  • Card is properly showed on ipad App :-)
    - iPad
    image
    - Web
    image
  • Irrigation schedule looks is still working fine
  • When I try to edit the card i see this:
    image
    • yaml:
type: custom:irrigation-card
program: switch.riego_no
entities: []
show_program: true
next_run_label: Next Run
last_ran_label: Last Run
remaining_label: Remaining time
  • I tried to manually edit and add the switches but still do not work:
    image
type: custom:irrigation-card
program: switch.riego_no
entities:
  - switch.valvula_riego_1_switch
  - switch.valvula_riego_2_switch
show_program: true
next_run_label: Next Run
last_ran_label: Last Run
remaining_label: Remaining time
  • I reconfigure the zones, but still failing
  • I confirmed valves and switches works fine.

Thanks

Hi @L0bit0

What browser are you using?
Have you tried clearing the cache?
Can you try incognito mode.

Cheers
Pete

Browsers: chorme on mac, and fully kiosk
clearing cache: tested, same thing
incognito: tested, same issue...

BTW, i think it is duplicated with this: #81

feel free to merge

last update: now it is working fine :-)
image
I did not did anything... as far as i know...

i will keep monitoring during some days and see if issue come back...

in cas it helps i tried some chrome developer tools and see some components errors:
image
image

this is the exported log:
homeassistant.local-1725445742586.log

That is good thanks:

Did you install the card from HACS? The card auto installs now and should be version 5.4.20

image
image

If you have the standalone instance installed if you remove that that should help.

I manually updated and looks good now. I will wait a couple of days for 100% confirmation, but it looks good.

Thanks!!!