Skip to content

Commit

Permalink
More fixes to README
Browse files Browse the repository at this point in the history
  • Loading branch information
gazoodle committed Jul 13, 2021
1 parent ba97400 commit 16787f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ with GeckoLocator(CLIENT_ID) as locator:
print(facade.water_heater)

print("Turning pump 1 on")
facade.pumps[0].turn_on()
facade.pumps[0].set_mode('HI')

time.sleep(5)

print("Turning pump 1 off")
facade.pumps[0].turn_off()
facade.pumps[0].set_mode('OFF')
time.sleep(2)
```

Expand Down Expand Up @@ -271,12 +271,12 @@ def pump_1_change(sender, old_value, new_value):
facade.pumps[0].watch(pump_1_change)

print("Turn pump 1 on")
facade.pumps[0].turn_on()
facade.pumps[0].set_mode('HI')

time.sleep(5)

print("Turning pump 1 off")
facade.pumps[0].turn_off()
facade.pumps[0].set_mode('OFF')

time.sleep(2)
facade.complete()
Expand Down

0 comments on commit 16787f8

Please sign in to comment.