Split Withings common file out to their own file (#100150)

* Split common out in logical pieces

* Split common out in logical pieces

* Split common out in logical pieces
This commit is contained in:
Joost Lekkerkerker 2023-09-11 22:25:08 +02:00 committed by GitHub
parent 5a56adb3f5
commit c347c78b6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 158 additions and 161 deletions

View file

@ -23,12 +23,7 @@ from homeassistant.const import (
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from .common import (
BaseWithingsSensor,
UpdateType,
WithingsEntityDescription,
async_get_data_manager,
)
from .common import UpdateType, async_get_data_manager
from .const import (
SCORE_POINTS,
UOM_BEATS_PER_MINUTE,
@ -37,6 +32,7 @@ from .const import (
UOM_MMHG,
Measurement,
)
from .entity import BaseWithingsSensor, WithingsEntityDescription
@dataclass