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

Entity sensor.<ID> implements device_state_attributes. Please report it to the custom component author. #281

Closed
4 tasks done
stelterlab opened this issue Dec 24, 2021 · 4 comments
Labels

Comments

@stelterlab
Copy link

My Home Assistant version: 2021.12.5

With HA version 2021.12.4 there was a name change of the attributes

device_state_attributes -> extra_state_attributes

What I am doing:

I updated to HA version 2021.12.5.

What I expected to happen:

Not to see any warnings.

What happened instead:

I did see warnings.

Minimal steps to reproduce:

Just upgrade to 2021.12.4

# The least amount of code or steps possible to reproduce my error

# Put your code/steps here

Error messages from the browser console:

2021-12-24 17:28:48 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.d207caf2_e606a217 (<class 'custom_components.browser_mod.light.BrowserModLight'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-24 17:28:48 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.d207caf2_e606a217 (<class 'custom_components.browser_mod.sensor.BrowserModSensor'>) implements device_state_attributes. Please report it to the custom component author.

See also https://community.home-assistant.io/t/2021-12-new-configuration-menu-the-button-entity-and-gorgeous-area-cards/365680/317

I didn't find any notice on this on your thread in the support forum and no open issue.

Just a warning (yet).

Thanks in advance! Keep up this excellent work!


By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).

  • Have made sure I am using the latest version of the plugin.

  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.

  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

@criticallimit
Copy link

same here:

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:549
First occurred: 5. Januar 2022, 19:17:21 (2 occurrences)
Last logged: 5. Januar 2022, 19:17:21

Entity media_player.ipad (<class 'custom_components.browser_mod.media_player.BrowserModPlayer'>) implements device_state_attributes. Please report it to the custom component author.
Entity sensor.ipad (<class 'custom_components.browser_mod.sensor.BrowserModSensor'>) implements device_state_attributes. Please report it to the custom component author.

@drjjr2
Copy link

drjjr2 commented Jan 11, 2022

Same here:
browser_mod v 1.5.1
Home Assistant 2021.12.9

2022-01-11 08:34:25 WARNING (MainThread) [homeassistant.helpers.entity] Entity media_player.android_tablet (<class 'custom_components.browser_mod.media_player.BrowserModPlayer'>) implements device_state_attributes. Please report it to the custom component author.
2022-01-11 08:34:25 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.android_tablet (<class 'custom_components.browser_mod.light.BrowserModLight'>) implements device_state_attributes. Please report it to the custom component author.
2022-01-11 08:34:25 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.android_tablet (<class 'custom_components.browser_mod.sensor.BrowserModSensor'>) implements device_state_attributes. Please report it to the custom component author.
2022-01-11 08:34:36 ERROR (MainThread) [frontend.js.latest.202112291] https://drjjr.duckdns.org/bathroom-panel/0?kiosk:0:0 Uncaught 
2022-01-11 08:34:41 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.laundry_panel (<class 'custom_components.browser_mod.binary_sensor.BrowserModSensor'>) implements device_state_attributes. Please report it to the custom component author.
2022-01-11 08:34:41 WARNING (MainThread) [homeassistant.helpers.entity] Entity camera.laundry_panel (<class 'custom_components.browser_mod.camera.BrowserModCamera'>) implements device_state_attributes. Please report it to the custom component author.

@ericvb
Copy link

ericvb commented Jan 12, 2022

There are even 2 pull request ready to merge for this problem:
#269
#276

@stale
Copy link

stale bot commented Mar 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 13, 2022
@stale stale bot closed this as completed Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants