Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions kasa/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""python-kasa cli tool."""
import asyncio
import json
import logging
import re
Expand Down Expand Up @@ -373,7 +372,7 @@ async def temperature(dev: SmartBulb, temperature: int, transition: int):
)
else:
click.echo(f"Setting color temperature to {temperature}")
asyncio.run(dev.set_color_temp(temperature, transition=transition))
await dev.set_color_temp(temperature, transition=transition)


@cli.command()
Expand Down