Prevent use of deprecated units (#83384)
* Prevent use of deprecated units * Adjust obsolete util * More units * Add FREQUENCY * Adjust pylint ignore * Add ELECTRIC (current/potential) * Add TIME * Adjust units
This commit is contained in:
parent
55133b3a27
commit
d6fc2d9452
6 changed files with 75 additions and 10 deletions
|
@ -1,5 +1,6 @@
|
|||
"""Temperature util functions."""
|
||||
from homeassistant.const import ( # pylint: disable=unused-import # noqa: F401
|
||||
# pylint: disable-next=unused-import,hass-deprecated-import
|
||||
from homeassistant.const import ( # noqa: F401
|
||||
TEMP_CELSIUS,
|
||||
TEMP_FAHRENHEIT,
|
||||
TEMP_KELVIN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue