Limit parallel requests in fibaro light (#71762)

This commit is contained in:
rappenze
2022-05-18 12:14:27 -07:00
committed by Paulus Schoutsen
parent 5fbc4b8dba
commit 107615ebef
+2
View File
@@ -23,6 +23,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
from . import FIBARO_DEVICES, FibaroDevice
from .const import DOMAIN
PARALLEL_UPDATES = 2
def scaleto255(value: int | None) -> int:
"""Scale the input value from 0-100 to 0-255."""