GithubHelp home page GithubHelp logo

Comments (14)

thomasloven avatar thomasloven commented on July 17, 2024

Could you try opening slider-entity-row.js in any editor and just saving it again without any changes?

from lovelace-slider-entity-row.

thecode avatar thecode commented on July 17, 2024

Done, still get the same error, I also noticed the error appears for all sliders (covers also, not only light)

2019-04-29 23:18:52 ERROR (MainThread) https://####.###/frontend_es5/app.0d431883.js:2:79851 Uncaught TypeError: Cannot convert undefined or null to object

from lovelace-slider-entity-row.

thecode avatar thecode commented on July 17, 2024

I looked at the error more closlely with Chrome DevTools:

Uncaught TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at HTMLElement._listenKeyEventListeners (app.0d431883.js:2) at HTMLElement.attached (app.0d431883.js:2) at HTMLElement.value (app.0d431883.js:2)

Maybe this can help

from lovelace-slider-entity-row.

GeekRuthie avatar GeekRuthie commented on July 17, 2024

I'm having the same error, on a new install of 0.92.1. Please let me know if there's anything I can do to help unravel the mystery.

from lovelace-slider-entity-row.

ronendayan avatar ronendayan commented on July 17, 2024

Same here
using lovelace, HA 0.92.1
Trying to call service frontend.set_theme
2019-05-15 08:27:32 ERROR (MainThread) [frontend.js.latest.201904240] https://xxx.xxx.xxx/frontend_latest/app.7ac4ac3c.js:2:60391 Uncaught TypeError: Cannot convert undefined or null to object

from lovelace-slider-entity-row.

thomasloven avatar thomasloven commented on July 17, 2024

Please let me know if this is still a problem with version v0.1

from lovelace-slider-entity-row.

thecode avatar thecode commented on July 17, 2024

Still get the same error on two setups, I'm going to try only this module on fresh install to try to understand what is causing the error.

from lovelace-slider-entity-row.

tuan280195 avatar tuan280195 commented on July 17, 2024

+1 at 0.94.1

from lovelace-slider-entity-row.

thomasloven avatar thomasloven commented on July 17, 2024

Could you please make sure the light is turned on and then go go /dev-state, find the entity in the list and copy the contents of the rightmost column for it and paste here?

from lovelace-slider-entity-row.

tuan280195 avatar tuan280195 commented on July 17, 2024

Could you please make sure the light is turned on and then go go /dev-state, find the entity in the list and copy the contents of the rightmost column for it and paste here?

switch.fan on friendly_name: FAN icon: mdi:asterisk
switch.light on friendly_name: Extra Light
switch.main_light on friendly_name: Main light
switch.pc on friendly_name: My Room PC icon: mdi:desktop-classic

from lovelace-slider-entity-row.

thecode avatar thecode commented on July 17, 2024

I get the same error both for lights and covers.
Light:

light.living_room_tv_leds on effect_list: Off,Meteor Shower,Gradual Change,Breath,Flash,On/Off Gradual,Red/Green Change brightness: 255 hs_color: 300,100 rgb_color: 255,0,255 xy_color: 0.385,0.155 white_value: 32 effect: Off friendly_name: Living Room TV LEDs supported_features: 189

Cover:

cover.living_room_1 open current_position: 91 friendly_name: Living Room 1 supported_features: 15

from lovelace-slider-entity-row.

thecode avatar thecode commented on July 17, 2024

I performed a clean Home Assistant Installation (v0.94.4).
Added only a cover component, checked it for a day without any errors.
After adding the slider-entity-row, error started to appear in logs.

Here is the complete lovelace test config:

title: Home
resources:
  - url: /local/plugins/slider-entity-row.js?v=0.2
    type: module
views:
  - cards:
      - entities:
          - type: 'custom:slider-entity-row'
            entity: cover.shelly_shsw_21_aa5bb1
            name: Parents Room Shutter
        type: entities
    badges: []
    path: default_view
    title: Home

image

Error:
http://*.*.*.*:8123/frontend_latest/app.29ef27ad.js:2:59869 Uncaught TypeError: Cannot convert undefined or null to object

Thank you for the effort, if there is something more I can do to test let me know.

from lovelace-slider-entity-row.

thomasloven avatar thomasloven commented on July 17, 2024

This may be related to this: home-assistant/frontend#3297

from lovelace-slider-entity-row.

thecode avatar thecode commented on July 17, 2024

Home Assistant Version 0.95.0 solves this issue, thanks for the support.

from lovelace-slider-entity-row.

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.