Remove a bunch of unused constants from the imports
Switches TIME_SECONDS to using UnitOfTime so it's compatible with future HA core versions.
Resolves the logs:
2024-01-12 16:44:05.284 WARNING (MainThread) [homeassistant.const] LENGTH_KILOMETERS was used from chargepoint, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.KILOMETERS instead, please create a bug report at https://github.com/mbillow/ha-chargepoint/issues
2024-01-12 16:44:05.294 WARNING (MainThread) [homeassistant.const] LENGTH_MILES was used from chargepoint, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.MILES instead, please create a bug report at https://github.com/mbillow/ha-chargepoint/issues
2024-01-12 16:44:05.304 WARNING (MainThread) [homeassistant.const] PRESSURE_PSI was used from chargepoint, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.PSI instead, please create a bug report at https://github.com/mbillow/ha-chargepoint/issues
2024-01-12 16:44:05.313 WARNING (MainThread) [homeassistant.const] TIME_SECONDS was used from chargepoint, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please create a bug report at https://github.com/mbillow/ha-chargepoint/issues
Resolves the logs:
Fixes #36