Apply suggestion

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
epenet 2022-10-17 11:36:37 +02:00 committed by GitHub
parent 5bd3e55cee
commit 8b09080537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ title: "Deprecate Unit System constants and properties"
As of Home Assistant Core 2022.11, the `is_metric` and `name` properties of a unit system are deprecated
and should not be used.
Custom components referencing these properties will need to be adjusted to use instance checks instead.
Custom integrations referencing these properties will need to be adjusted to use instance checks instead.
Correct:
```python