Migrate to maxcube-api 0.3.0 version (#45126)

Upgrade maxcube-api to solve bugs fixed in last 3 years.
This commit is contained in:
unaiur 2021-01-14 11:33:02 +01:00 committed by GitHub
parent 4bca9596ee
commit ab518a7755
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -16,7 +16,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
name = f"{cube.room_by_id(device.room_id).name} {device.name}"
# Only add Window Shutters
if cube.is_windowshutter(device):
if device.is_windowshutter():
devices.append(MaxCubeShutter(handler, name, device.rf_address))
if devices: