Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

"Light is deprecated, modify DMXLight to extend LightEntity"-Warning in 110 #31

Open
ugleatle opened this issue May 21, 2020 · 3 comments

Comments

@ugleatle
Copy link

I get this warning with 110. Not sure if it is on my end, but is seems like the integration needs an update to be compatible with newer versions of HA?

"Log Details (WARNING)
Logger: homeassistant.components.light
Source: components/light/init.py:451
Integration: Light (documentation, issues)
First occurred: 11:10:28 AM (1 occurrences)
Last logged: 11:10:28 AM

Light is deprecated, modify DMXLight to extend LightEntity"

@mattjbailey
Copy link

mattjbailey commented May 25, 2020

I'm seeing the same message on version 110.2. I believe it's currently a warning and does not impact performance yet.

Error:
Light is deprecated, modify DMXLight to extend LightEntity
7:48:59 PM – Light (WARNING)

You are using a custom integration for dmx which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
7:48:59 PM – loader.py (WARNING)

@jnimmo
Copy link
Owner

jnimmo commented May 25, 2020

I'm not likely to get time to look at this for a few weeks, please feel free to submit a pull request with the required changes, cheers

filmgarage added a commit to filmgarage/hass-dmx that referenced this issue Jun 7, 2020
Included proposed changes as described in the HA blog: https://developers.home-assistant.io/blog/2020/05/14/entity-class-names
Light is deprecated and replaced by LightEntity.
No idea if what I did makes sense, but might be a starting point to fix this error
Should fix issue jnimmo#31
@bartfeenstra
Copy link
Contributor

This was fixed in #34

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

No branches or pull requests

4 participants