tomaae / homeassistant-openmediavault

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

Errors on supervisor core log after 2021.12.0 update of HA [Bug] #63

Closed BebeMischa closed 2 years ago

BebeMischa commented 2 years ago

Describe the issue

Supervisor core log contains errors

How to reproduce the issue

When have OMV integration installed, update HA core to 2021.12.0 and see the supervisor log

Expected behavior

No listings in supervisor core log

Screenshots

None

Software versions

Traceback/Error logs

2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_cpu_load (<class 'custom_components.openmediavault.sensor.OMVSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_memory (<class 'custom_components.openmediavault.sensor.OMVSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_uptime (<class 'custom_components.openmediavault.sensor.OMVSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_disk2 (<class 'custom_components.openmediavault.sensor.OMVFileSystemSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_disk4 (<class 'custom_components.openmediavault.sensor.OMVFileSystemSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_disk1 (<class 'custom_components.openmediavault.sensor.OMVFileSystemSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv (<class 'custom_components.openmediavault.sensor.OMVFileSystemSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_disk3 (<class 'custom_components.openmediavault.sensor.OMVFileSystemSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_2 (<class 'custom_components.openmediavault.sensor.OMVFileSystemSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_sda (<class 'custom_components.openmediavault.sensor.OMVDiskSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_sdb (<class 'custom_components.openmediavault.sensor.OMVDiskSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_sdc (<class 'custom_components.openmediavault.sensor.OMVDiskSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_sdd (<class 'custom_components.openmediavault.sensor.OMVDiskSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 23:52:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.omv_sde (<class 'custom_components.openmediavault.sensor.OMVDiskSensor'>) implements device_state_attributes. Please report it to the custom component author.

Additional context

The log is kindly asking to inform the author, so here I'm, listening bravely ;-)

tomaae commented 2 years ago

I think this was fixed in #61 Can you install master and confirm?

BebeMischa commented 2 years ago

So I went to HACS, OMV integration, clicked Re-download, restarted the whole server, but nothing changed.

Do I need another steps to do?

BebeMischa commented 2 years ago

And, @tomaae , this looks not only OMV problem, there are more HACS integrations with the same error ;-)

tomaae commented 2 years ago

Select "master" from version selection in redownload window: image

Yes, I know. It was in breaking changes for this release. I'm currently holding off updating my main instance for at least a week because of that. I will have time to start updating my integrations starting monday

weelad commented 2 years ago

@tomaae I don't think #61 has been merged yet :)

tomaae commented 2 years ago

it was, but its not in a release, just master

BebeMischa commented 2 years ago

Yes, now downloaded master, errors are gone ;-)

tomaae commented 2 years ago

good to hear :)

BebeMischa commented 2 years ago

Solved

groenmarsmannetje commented 2 years ago

Why was this not released? I only came to know about this fix, because I checked closed issues before raising a new issue. I would never have thought myself to install master to fix this and I am pretty sure that I am not the only one.