From 2e340d2c2f8a5202d8341ff10201e5441f59f4b8 Mon Sep 17 00:00:00 2001 From: Eugene Prystupa Date: Fri, 31 Jul 2020 20:36:02 -0400 Subject: [PATCH] Update bond-api to 0.1.8 (#38442) * Bump bond API dependency version * Bump bond API dependency version (PR feedback) --- homeassistant/components/bond/light.py | 2 +- homeassistant/components/bond/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/bond/light.py b/homeassistant/components/bond/light.py index 574c50dc3e3..7dec44dbb38 100644 --- a/homeassistant/components/bond/light.py +++ b/homeassistant/components/bond/light.py @@ -82,7 +82,7 @@ class BondLight(BondEntity, LightEntity): if brightness: await self._hub.bond.action( self._device.device_id, - Action(Action.SET_BRIGHTNESS, round((brightness * 100) / 255)), + Action.set_brightness(round((brightness * 100) / 255)), ) else: await self._hub.bond.action(self._device.device_id, Action.turn_light_on()) diff --git a/homeassistant/components/bond/manifest.json b/homeassistant/components/bond/manifest.json index 8144b29e7d9..c03da96cf4e 100644 --- a/homeassistant/components/bond/manifest.json +++ b/homeassistant/components/bond/manifest.json @@ -3,7 +3,7 @@ "name": "Bond", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/bond", - "requirements": ["bond-api==0.1.7"], + "requirements": ["bond-api==0.1.8"], "codeowners": ["@prystupa"], "quality_scale": "platinum" } diff --git a/requirements_all.txt b/requirements_all.txt index dc945876acc..6e5d32d25a0 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -362,7 +362,7 @@ blockchain==1.4.4 bomradarloop==0.1.4 # homeassistant.components.bond -bond-api==0.1.7 +bond-api==0.1.8 # homeassistant.components.amazon_polly # homeassistant.components.route53 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 9a746c7c64c..dc43253bc2a 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -187,7 +187,7 @@ blinkpy==0.15.1 bomradarloop==0.1.4 # homeassistant.components.bond -bond-api==0.1.7 +bond-api==0.1.8 # homeassistant.components.braviatv bravia-tv==1.0.6