Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
etsinko committed Oct 25, 2017
1 parent 27436cc commit 6f06972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ from pymonoprice import get_async_monoprice

async def main(loop):
monoprice = await get_async_monoprice('/dev/ttyUSB0', loop)
zone_status = await monoprice.zone_status(1)
zone_status = await monoprice.zone_status(11)
if zone_status.power:
await monoprice.set_power(1, False)
await monoprice.set_power(zone_status.zone, False)

loop = asyncio.get_event_loop()
main(loop)
Expand Down

0 comments on commit 6f06972

Please sign in to comment.