In this PR, I replaced the deprecated constants with the newly introduced Enums. This seems to be a push from the Home Assistant devs to get rid of "Magic Numbers" in the code.
I did the minimal amount of changes to get it running again and get rid of the deprecation warnings.
In this PR, I replaced the deprecated constants with the newly introduced Enums. This seems to be a push from the Home Assistant devs to get rid of "Magic Numbers" in the code.
I did the minimal amount of changes to get it running again and get rid of the deprecation warnings.
Fixes:
62
63