Platinum quality on Teslemetry (#115191)
parent
47587ee3fb
commit
cb78caf455
|
@ -26,6 +26,8 @@ from .entity import (
|
|||
)
|
||||
from .models import TeslemetryEnergyData, TeslemetryVehicleData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class TeslemetryBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||
|
|
|
@ -17,6 +17,8 @@ from .entity import TeslemetryVehicleEntity
|
|||
from .helpers import handle_vehicle_command
|
||||
from .models import TeslemetryVehicleData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class TeslemetryButtonEntityDescription(ButtonEntityDescription):
|
||||
|
|
|
@ -32,6 +32,8 @@ from .models import TeslemetryVehicleData
|
|||
DEFAULT_MIN_TEMP = 15
|
||||
DEFAULT_MAX_TEMP = 28
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -23,6 +23,8 @@ from .models import TeslemetryVehicleData
|
|||
OPEN = 1
|
||||
CLOSED = 0
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -11,6 +11,8 @@ from . import TeslemetryConfigEntry
|
|||
from .entity import TeslemetryVehicleEntity
|
||||
from .models import TeslemetryVehicleData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -19,6 +19,8 @@ from .models import TeslemetryVehicleData
|
|||
|
||||
ENGAGED = "Engaged"
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/teslemetry",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["tesla-fleet-api"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["tesla-fleet-api==0.6.1"]
|
||||
}
|
||||
|
|
|
@ -27,6 +27,8 @@ STATES = {
|
|||
VOLUME_MAX = 11.0
|
||||
VOLUME_STEP = 1.0 / 3
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -26,6 +26,8 @@ from .entity import TeslemetryEnergyInfoEntity, TeslemetryVehicleEntity
|
|||
from .helpers import handle_command, handle_vehicle_command
|
||||
from .models import TeslemetryEnergyData, TeslemetryVehicleData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class TeslemetryNumberVehicleEntityDescription(NumberEntityDescription):
|
||||
|
|
|
@ -22,6 +22,8 @@ LOW = "low"
|
|||
MEDIUM = "medium"
|
||||
HIGH = "high"
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class SeatHeaterDescription(SelectEntityDescription):
|
||||
|
|
|
@ -42,6 +42,8 @@ from .entity import (
|
|||
)
|
||||
from .models import TeslemetryEnergyData, TeslemetryVehicleData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
CHARGE_STATES = {
|
||||
"Starting": "starting",
|
||||
"Charging": "charging",
|
||||
|
|
|
@ -22,6 +22,8 @@ from .entity import TeslemetryEnergyInfoEntity, TeslemetryVehicleEntity
|
|||
from .helpers import handle_command, handle_vehicle_command
|
||||
from .models import TeslemetryEnergyData, TeslemetryVehicleData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class TeslemetrySwitchEntityDescription(SwitchEntityDescription):
|
||||
|
|
|
@ -21,6 +21,8 @@ INSTALLING = "installing"
|
|||
WIFI_WAIT = "downloading_wifi_wait"
|
||||
SCHEDULED = "scheduled"
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant,
|
||||
|
|
Loading…
Reference in New Issue