Set Fan Motion Outlet code to use MQTT by default

This commit is contained in:
Melissa LeBlanc-Williams 2023-08-31 09:03:38 -07:00
parent 208176df9d
commit a170ca7488

View file

@ -13,7 +13,7 @@ from adafruit_funhouse import FunHouse
OUTLET_STATE_TOPIC = "funhouse/outlet/state"
OUTLET_COMMAND_TOPIC = "funhouse/outlet/set"
MOTION_TIMEOUT = 300 # Timeout in seconds
USE_MQTT = False
USE_MQTT = True
# Use dict to avoid reassigning the variable
timestamps = {