Drop PARALLEL_UPDATES from switchbot (#78713)

This commit is contained in:
J. Nick Koston 2022-09-18 16:36:50 -05:00 committed by GitHub
parent d33cc2c83e
commit a1735b742c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View file

@ -15,7 +15,7 @@ from .const import DOMAIN
from .coordinator import SwitchbotDataUpdateCoordinator
from .entity import SwitchbotEntity
PARALLEL_UPDATES = 1
PARALLEL_UPDATES = 0
BINARY_SENSOR_TYPES: dict[str, BinarySensorEntityDescription] = {
"calibration": BinarySensorEntityDescription(

View file

@ -24,7 +24,7 @@ from .entity import SwitchbotEntity
# Initialize the logger
_LOGGER = logging.getLogger(__name__)
PARALLEL_UPDATES = 1
PARALLEL_UPDATES = 0
async def async_setup_entry(

View file

@ -29,7 +29,7 @@ SWITCHBOT_COLOR_MODE_TO_HASS = {
SwitchBotColorMode.COLOR_TEMP: ColorMode.COLOR_TEMP,
}
PARALLEL_UPDATES = 1
PARALLEL_UPDATES = 0
async def async_setup_entry(

View file

@ -2,7 +2,7 @@
"domain": "switchbot",
"name": "SwitchBot",
"documentation": "https://www.home-assistant.io/integrations/switchbot",
"requirements": ["PySwitchbot==0.19.9"],
"requirements": ["PySwitchbot==0.19.10"],
"config_flow": true,
"dependencies": ["bluetooth"],
"codeowners": [

View file

@ -21,7 +21,7 @@ from .const import DOMAIN
from .coordinator import SwitchbotDataUpdateCoordinator
from .entity import SwitchbotEntity
PARALLEL_UPDATES = 1
PARALLEL_UPDATES = 0
SENSOR_TYPES: dict[str, SensorEntityDescription] = {
"rssi": SensorEntityDescription(

View file

@ -19,7 +19,7 @@ from .entity import SwitchbotEntity
# Initialize the logger
_LOGGER = logging.getLogger(__name__)
PARALLEL_UPDATES = 1
PARALLEL_UPDATES = 0
async def async_setup_entry(

View file

@ -37,7 +37,7 @@ PyRMVtransport==0.3.3
PySocks==1.7.1
# homeassistant.components.switchbot
PySwitchbot==0.19.9
PySwitchbot==0.19.10
# homeassistant.components.transport_nsw
PyTransportNSW==0.1.1

View file

@ -33,7 +33,7 @@ PyRMVtransport==0.3.3
PySocks==1.7.1
# homeassistant.components.switchbot
PySwitchbot==0.19.9
PySwitchbot==0.19.10
# homeassistant.components.transport_nsw
PyTransportNSW==0.1.1