Closed Bouni closed 1 year ago
*note: The unit enums are more recent, looking at the current scope of this change, I think that means this custom integration will now be at least requiring Home Assistant Core 2022.12 (maybe 2022.11 will work).
This needs to be guarded by setting the minimum required HA version in the hacs.json file.
../Frenck
Good point, I had to upgrade for my test as UnitOfTime was not importable from const.py
As suggested by @frenck in #59
Also use
UnitOf*
enums for units.