Skip to content

Commit

Permalink
style: update comments to meet coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMakerLi authored Dec 18, 2024
1 parent 4b19177 commit 01bff8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/xiaomi_home/miot/miot_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,8 @@ def unit_convert(self, spec_unit: str) -> Optional[str]:
'kB': UnitOfInformation.KILOBYTES,
}

# Handle UnitOfConductivity separately since it might not be available in all HA versions
# Handle UnitOfConductivity separately since
# it might not be available in all HA versions
try:
# pylint: disable=import-outside-toplevel
from homeassistant.const import UnitOfConductivity
Expand Down

0 comments on commit 01bff8c

Please sign in to comment.