Skip to content

Commit

Permalink
Bugfix close and open all valve
Browse files Browse the repository at this point in the history
  • Loading branch information
DevTown committed May 2, 2023
1 parent ab5020f commit b697827
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 b697827

Please sign in to comment.