diff --git a/blog/2022-11-28-more-unit-enumerators.md b/blog/2022-11-28-more-unit-enumerators.md new file mode 100644 index 00000000..5de3176a --- /dev/null +++ b/blog/2022-11-28-more-unit-enumerators.md @@ -0,0 +1,10 @@ +--- +author: epenet +authorURL: https://github.com/epenet +title: "Add more unit enumerators" +--- + +As of Home Assistant Core 2022.12, the following unit constants are deprecated and replaced +by a corresponding enum: + + - `UnitOfPrecipitationDepth` enumerator replaces `PRECIPITATION_***` constants