tomaae / homeassistant-openmediavault

OpenMediaVault integration for Home Assistant
Apache License 2.0
109 stars 15 forks source link

[Bug] Sensor property renamed from `device_state_attributes` to `extra_state_attributes` in HA core #61

Closed firstof9 closed 2 years ago

firstof9 commented 2 years ago

Describe the issue

device_state_attributes is deprecated and needs to be changed to extra_state_attributes

How to reproduce the issue

Run HA 2021.12.0+

Expected behavior

n/a

Screenshots

n/a

Software versions

Traceback/Error logs

(<class 'custom_components.openmediavault.binary_sensor.OMVBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.

(<class 'custom_components.openmediavault.sensor.OMVSensor'>) implements device_state_attributes. Please report it to the custom component author.

(<class 'custom_components.openmediavault.sensor.OMVFileSystemSensor'>) implements device_state_attributes. Please report it to the custom component author.

(<class 'custom_components.openmediavault.sensor.OMVDiskSensor'>) implements device_state_attributes. Please report it to the custom component author.

Additional context

n/a

tomaae commented 2 years ago

thanks :) btw, no need to spend extra time to open issue. PR is more then enough :)

firstof9 commented 2 years ago

I opened it as I didn't have time at the time to get to a PR hehe but 👍

tomaae commented 2 years ago

I dont mind, its just to save your time :-)