diff --git a/CHANGELOG.md b/CHANGELOG.md index 36c61090..a8c9d01d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Duplicates in entity names (https://github.com/home-assistant/core/issues/88792) +- Add shutter capabilities to BNAB, BNAS and BNMS (https://github.com/home-assistant/core/issues/106392) ### Security diff --git a/src/pyatmo/modules/bticino.py b/src/pyatmo/modules/bticino.py index f53d7eed..05682161 100644 --- a/src/pyatmo/modules/bticino.py +++ b/src/pyatmo/modules/bticino.py @@ -3,7 +3,7 @@ import logging -from pyatmo.modules.module import Dimmer, Module, Switch +from pyatmo.modules.module import Dimmer, Module, Shutter, Switch LOG = logging.getLogger(__name__) @@ -32,20 +32,20 @@ class BNXM(Module): """BTicino X meter.""" -class BNMS(Module): +class BNMS(Shutter): """BTicino motorized shade.""" -class BNAS(Module): +class BNAS(Shutter): """BTicino automatic shutter.""" -class BNAB(Module): +class BNAB(Shutter): """BTicino automatic blind.""" class BNMH(Module): - """BTicino automatic blind.""" + """BTicino MyHome server.""" class BNTH(Module): diff --git a/src/pyatmo/modules/device_types.py b/src/pyatmo/modules/device_types.py index 0424c2cd..3f670b1c 100644 --- a/src/pyatmo/modules/device_types.py +++ b/src/pyatmo/modules/device_types.py @@ -88,7 +88,7 @@ class DeviceType(str, Enum): BNMS = "BNMS" # motorized shade BNAS = "BNAS" # automatic shutter BNAB = "BNAB" # automatic blind - BNMH = "BNMH" # automatic blind + BNMH = "BNMH" # MyHome server BNTH = "BNTH" # thermostat BNFC = "BNFC" # fan coil BNTR = "BNTR" # radiator