Apply suggestion

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

View File

@ -19,7 +19,7 @@ if hass.config.units is METRIC_SYSTEM:
``` ```
To avoid confusion with future unit systems, the constants `CONF_UNIT_SYSTEM_IMPERIAL` To avoid confusion with future unit systems, the constants `CONF_UNIT_SYSTEM_IMPERIAL`
and `CONF_UNIT_SYSTEM_METRIC` are also deprecated and should not longer be referenced: and `CONF_UNIT_SYSTEM_METRIC` are also deprecated and should no longer be referenced:
- if they were used to compare against the `name` of a unit system, - if they were used to compare against the `name` of a unit system,
then this is no longer needed. then this is no longer needed.
- if they were used for another reason, then local constants should be created instead. - if they were used for another reason, then local constants should be created instead.