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 implements device_state_attributes #552

Closed
vorlocsev opened this issue Dec 9, 2021 · 2 comments
Closed

entity implements device_state_attributes #552

vorlocsev opened this issue Dec 9, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@vorlocsev
Copy link

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:549
First occurred: 18:23:52 (41 occurrences)
Last logged: 18:24:11

Entity binary_sensor.0x158d0003973bbb_contact (<class 'custom_components.xiaomi_gateway3.binary_sensor.XiaomiBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
Entity sensor.0x158d0003973bbb_battery (<class 'custom_components.xiaomi_gateway3.sensor.XiaomiSensor'>) implements device_state_attributes. Please report it to the custom component author.
Entity alarm_control_panel.0x588e81fffeddeee4_alarm (<class 'custom_components.xiaomi_gateway3.alarm_control_panel.XiaomiAlarm'>) implements device_state_attributes. Please report it to the custom component author.
Entity light.50ec50ca6875_light (<class 'custom_components.xiaomi_gateway3.light.XiaomiMeshLight'>) implements device_state_attributes. Please report it to the custom component author.
Entity media_player.yandex_station_443078968308541a0050 (<class 'custom_components.yandex_station.media_player.YandexStationHDMI'>) implements device_state_attributes. Please report it to the custom component author.

What does it mean?

@vorlocsev
Copy link
Author

Ohh, i found it. Return entity specific state attributes. This method is deprecated, platform classes should implement. extra_state_attributes instead.

@AlexxIT AlexxIT added question Further information is requested duplicate This issue or pull request already exists and removed question Further information is requested labels Dec 10, 2021
@AlexxIT
Copy link
Owner

AlexxIT commented Dec 10, 2021

Duplicate

@AlexxIT AlexxIT closed this as completed Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants