Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: config.entities[i].split is not a function #20

Open
cftechwiz opened this issue Sep 18, 2021 · 5 comments
Open

Uncaught TypeError: config.entities[i].split is not a function #20

cftechwiz opened this issue Sep 18, 2021 · 5 comments

Comments

@cftechwiz
Copy link

2021-09-18 12:54:44 ERROR (MainThread) [frontend.js.latest.202108300] http://hassio.local:8123/hacsfiles/miflora-card/miflora-card.js?hacstag=197715418010:58:46 Uncaught TypeError: config.entities[i].split is not a function
2021-09-18 12:54:44 ERROR (MainThread) [aiohttp.web] Forbidden
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/http/static.py", line 30, in _handle
raise HTTPForbidden()
aiohttp.web_exceptions.HTTPForbidden: Forbidden

@OscarHanzely
Copy link

OscarHanzely commented Jan 29, 2022

I am getting the same error, in addition to the card does not show up and is breaking the dashboard that is attached to. This card is no longer compatible with ha core version 2022.1

@WalterDSU
Copy link

It is breaking my dashboard. anyone can help to fix it for newer version2022.

@fontanon
Copy link

fontanon commented Jun 22, 2022

I'm getting this issue too .. here's my card.

type: custom:miflora-card
entities:
  - entity: sensor.dragino_moisture_terraza1_water_soil
    type: moisture
  - entity: sensor.dragino_moisture_terraza1_temp_soil
    type: temperature
  - entity: sensor.dragino_moisture_terraza1_conduct_soil
    type: conductivity
    name: Fertility
  - entity: sensor.dragino_moisture_terraza1_bat
    type: battery
title: Calathea Zebrina
image: images/calathea-zebrina.jpg
min_moisture: 15
max_moisture: 60
min_conductivity: 350
min_temperature: 12

I'm using version 0.1.0 as downloaded from HACS.

IMPORTANT NOTE: Using HACS to install, if you mark Allow Beta Downloads and select master branch ... it worked for me!

@4T4R14N
Copy link

4T4R14N commented Jul 10, 2022

IMPORTANT NOTE: Using HACS to install, if you mark Allow Beta Downloads and select master branch ... it worked for me!

Same for me, thanks for sharing that 'fix' / tip :-D

@Dingin-rkv
Copy link

Same for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants