diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 628fde5..3cb3975 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,7 +56,7 @@ repos: - --fix=lf stages: [manual] - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + rev: v4.0.0-alpha.3 hooks: - id: prettier additional_dependencies: diff --git a/custom_components/bodymiscale/sensor.py b/custom_components/bodymiscale/sensor.py index ff32268..da371be 100644 --- a/custom_components/bodymiscale/sensor.py +++ b/custom_components/bodymiscale/sensor.py @@ -9,10 +9,7 @@ SensorStateClass, ) from homeassistant.config_entries import ConfigEntry -from homeassistant.const import ( - PERCENTAGE, - UnitOfMass, -) +from homeassistant.const import PERCENTAGE, UnitOfMass from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.typing import StateType