Skip to content

Commit

Permalink
Merge pull request #41 from H3c702/development
Browse files Browse the repository at this point in the history
Bugfix close and open all valve
  • Loading branch information
DevTown committed May 2, 2023
2 parents b23dcf0 + b697827 commit 4a38416
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Hector9000/HectorRemote.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ def clean(self, valve):
def dry(self, valve):
self.pub_with_subtopic(mqttTopics.HardwareTopics.dryMe, valve)

def all_valve_open(self):
self.pub_with_subtopic(mqttTopics.HardwareTopics.all_valve_open)

def all_valve_close(self):
self.pub_with_subtopic(mqttTopics.HardwareTopics.all_valve_close)

def ledstripmessage(self, topic, color, type):
message = str(color[0]) + "," + str(color[1]) + \
"," + str(color[2]) + "," + str(type)
Expand Down

0 comments on commit 4a38416

Please sign in to comment.