Commits

Craig Swank committed 6ca88ab

fixed bug in sprinklers

Comments (0)

Files changed (1)

examples/sprinklers.py

             'sprinklers': {
                 'type': 'switch',
                 'pin': pins['gpio'][11],
-                'on': 'water {location}'
+                'on': 'water {location}',
                 'off': 'stop watering {location}'
                 },
             },
             'sprinklers': {
                 'type': 'switch',
                 'pin': pins['gpio'][13],
-                'on': 'water {location}'
+                'on': 'water {location}',
                 'off': 'stop watering {location}'
                 },
             },
             'sprinklers': {
                 'type': 'switch',
                 'pin': pins['gpio'][15],
-                'on': 'water {location}'
+                'on': 'water {location}',
                 'off': 'stop watering {location}'
                 },
             },
             'sprinklers': {
                 'type': 'switch',
                 'pin': pins['gpio'][16],
-                'on': 'water {location}'
+                'on': 'water {location}',
                 'off': 'stop watering {location}'
                 },
             },
             'sprinklers': {
                 'type': 'switch',
                 'pin': pins['gpio'][18],
-                'on': 'water {location}'
+                'on': 'water {location}',
                 'off': 'stop watering {location}'
                 },
             },