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

"device_state_attributes" deprecated #546

Closed
Wh1terat opened this issue Dec 5, 2021 · 1 comment
Closed

"device_state_attributes" deprecated #546

Wh1terat opened this issue Dec 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Wh1terat
Copy link
Contributor

Wh1terat commented Dec 5, 2021

device_state_attributes has been deprecated and replaced with extra_state_attributes in 2021.12.0b1

def device_state_attributes(self):

def device_state_attributes(self):

Produces:

Entity sensor.c47c8d6cd994_ble (<class 'custom_components.xiaomi_gateway3.sensor.BLEStats'>) implements device_state_attributes. Please report it to the custom component author.
Entity sensor.c47c8d6cde7f_ble (<class 'custom_components.xiaomi_gateway3.sensor.BLEStats'>) implements device_state_attributes. Please report it to the custom component author.
Entity sensor.c47c8d6cde52_ble (<class 'custom_components.xiaomi_gateway3.sensor.BLEStats'>) implements device_state_attributes. Please report it to the custom component author.
Entity sensor.28d12739d6d5_ble (<class 'custom_components.xiaomi_gateway3.sensor.BLEStats'>) implements device_state_attributes. Please report it to the custom component author.
Entity sensor.54ef44e36a9e_ble (<class 'custom_components.xiaomi_gateway3.sensor.BLEStats'>) implements device_state_attributes. Please report it to the custom component author.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants