klasse motor test

This commit is contained in:
Bernd Reuther 2021-03-04 10:29:09 +01:00
parent d2b6768274
commit b805cbe501

View File

@ -38,7 +38,7 @@ def action(changePin, action):
# Convert the pin from the URL into an integer:
changePin = int(changePin)
# Get the device name for the pin being changed:
deviceName = pins[changePin]['name']
deviceName = pins_out[changePin]['name']
# If the action part of the URL is "on," execute the code indented below:
if action == "on":
# Set the pin high: