tomaae / homeassistant-truenas

TrueNAS integration for Home Assistant
Apache License 2.0
183 stars 16 forks source link

[Bug] DATA_GIBIBYTES was used from truenas, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.GIBIBYTES instead #140

Closed TheGroundZero closed 7 months ago

TheGroundZero commented 7 months ago

Describe the issue

From the Home Assistant logs:

Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 25 January 2024 at 10:30:10 (3 occurrences)
Last logged: 25 January 2024 at 10:30:10

- DATA_GIBIBYTES was used from truenas, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.GIBIBYTES instead, please create a bug report at https://github.com/tomaae/homeassistant-truenas/issues
- DATA_KIBIBYTES was used from truenas, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.KIBIBYTES instead, please create a bug report at https://github.com/tomaae/homeassistant-truenas/issues
- TEMP_CELSIUS was used from truenas, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/tomaae/homeassistant-truenas/issues
tomaae commented 7 months ago

already fixed in master