mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-04-02 07:45:31 +08:00
style: ignore pylint warning
This commit is contained in:
parent
c744919032
commit
b498a708ac
@ -624,6 +624,7 @@ class MIoTDevice:
|
||||
|
||||
# Handle UnitOfConductivity separately since it might not be available in all HA versions
|
||||
try:
|
||||
# pylint: disable=import-outside-toplevel
|
||||
from homeassistant.const import UnitOfConductivity
|
||||
unit_map['μS/cm'] = UnitOfConductivity.MICROSIEMENS_PER_CM
|
||||
except ImportError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user