Skip to content

Commit 40408c0

Browse files
authored
Linted code!
1 parent 84320dd commit 40408c0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

homeassistant_api/_async/models/domains.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22

33
from typing import TYPE_CHECKING, Any, Dict, Optional, Tuple, cast
44

5-
65
from pydantic import Field, validator
76

87
from ...models import ServiceField, State, base
98

10-
119
if TYPE_CHECKING:
1210
from homeassistant_api import Client
1311

1412

15-
1613
class AsyncDomain(base.BaseModel):
1714
"""A class representing the domain that services belong to."""
1815

@@ -44,6 +41,7 @@ def __getattr__(self, attr: str):
4441
return self.get_service(attr)
4542
return super().__getattribute__(attr)
4643

44+
4745
class AsyncService(base.BaseModel):
4846
"""Class representing services from homeassistant"""
4947

0 commit comments

Comments
 (0)