Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
v1ack committed Oct 27, 2022
1 parent 4cb65eb commit 7fdaabd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/lelight/connector_bless.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class BlessServer(BlessServerBlueZDBus):
async def setup(self):
await super().setup()
self.adv = BlueZLEAdvertisement(Type.BROADCAST, 1, self.app)
self.adv._tx_power = -15
self.adv._tx_power = -35

self.app.advertisements = [self.adv]
self.bus.export(self.adv.path, self.adv)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/lelight/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def turn_on(self, **kwargs: Any) -> None:
if not self._state:
self.app.send(Commands.turn_on())
# resp = requests.post(f"{self._host}/lamp?command=turn_on").json()
# logger.info(f"lamp turn_on: {resp}")
logger.debug(f"lamp turn_on: {kwargs}")
self._state = True
if ATTR_BRIGHTNESS in kwargs:
self._brightness = normalize_value(kwargs[ATTR_BRIGHTNESS], 255, 1000)
Expand Down
5 changes: 3 additions & 2 deletions custom_components/lelight/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
"@v1ack"
],
"requirements": [
"bless==0.2.4"
"bless==0.2.4",
"dbus-next==0.2.3"
],
"iot_class": "local_push",
"version": "0.1.0",
"version": "0.1.1",
"config_flow": true,
"loggers": [
"lelight"
Expand Down

0 comments on commit 7fdaabd

Please sign in to comment.