Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SensorDeviceClass instead of deprecated constants #173

Merged
merged 3 commits into from
Dec 23, 2021

Conversation

weltenwort
Copy link
Owner

📝 Summary

This replaces deprecated usages of DEVICE_CLASS_* constants with the new SensorDeviceClass string enums.

@weltenwort weltenwort added python Pull requests that update Python code minor version This change warrants a minor release labels Dec 23, 2021
@weltenwort weltenwort self-assigned this Dec 23, 2021
@github-actions
Copy link

github-actions bot commented Dec 23, 2021

🎉 HACS repository validator action summary 🎉
✅ The repository is not archived
✅ manifest.json file exist
✅ All required keys are present in manifest.json
✅ hacs.json has the 'name' key set
✅ The repository has a description
✅ rct_power is added to https://github.com/home-assistant/brands NICE!
✅ The repository has topics
✅ The repository has issues enabled
✅ This day ends with an 'y' (Thursday)
✅ info.md exists
✅ Requirements validation
✅ HACS load check

@weltenwort weltenwort merged commit 730c616 into main Dec 23, 2021
@weltenwort weltenwort deleted the replace-state-class-const branch December 23, 2021 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor version This change warrants a minor release python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant