diff --git a/homeassistant/components/onewire/binary_sensor.py b/homeassistant/components/onewire/binary_sensor.py index 5d3c71b5eae..c8127980d5e 100644 --- a/homeassistant/components/onewire/binary_sensor.py +++ b/homeassistant/components/onewire/binary_sensor.py @@ -19,7 +19,9 @@ from .const import DEVICE_KEYS_0_3, DEVICE_KEYS_0_7, DEVICE_KEYS_A_B, READ_MODE_ from .entity import OneWireEntity, OneWireEntityDescription from .onewirehub import OneWireConfigEntry, OneWireHub -PARALLEL_UPDATES = 1 +# the library uses non-persistent connections +# and concurrent access to the bus is managed by the server +PARALLEL_UPDATES = 0 SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/onewire/sensor.py b/homeassistant/components/onewire/sensor.py index e345550c265..e019a064e3d 100644 --- a/homeassistant/components/onewire/sensor.py +++ b/homeassistant/components/onewire/sensor.py @@ -41,7 +41,9 @@ from .const import ( from .entity import OneWireEntity, OneWireEntityDescription from .onewirehub import OneWireConfigEntry, OneWireHub -PARALLEL_UPDATES = 1 +# the library uses non-persistent connections +# and concurrent access to the bus is managed by the server +PARALLEL_UPDATES = 0 SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/onewire/switch.py b/homeassistant/components/onewire/switch.py index 57f4f41924e..645a3b5f2ea 100644 --- a/homeassistant/components/onewire/switch.py +++ b/homeassistant/components/onewire/switch.py @@ -16,7 +16,9 @@ from .const import DEVICE_KEYS_0_3, DEVICE_KEYS_0_7, DEVICE_KEYS_A_B, READ_MODE_ from .entity import OneWireEntity, OneWireEntityDescription from .onewirehub import OneWireConfigEntry, OneWireHub -PARALLEL_UPDATES = 1 +# the library uses non-persistent connections +# and concurrent access to the bus is managed by the server +PARALLEL_UPDATES = 0 SCAN_INTERVAL = timedelta(seconds=30)