Set Fan Motion Outlet code to use MQTT by default
This commit is contained in:
parent
208176df9d
commit
a170ca7488
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ from adafruit_funhouse import FunHouse
|
||||||
OUTLET_STATE_TOPIC = "funhouse/outlet/state"
|
OUTLET_STATE_TOPIC = "funhouse/outlet/state"
|
||||||
OUTLET_COMMAND_TOPIC = "funhouse/outlet/set"
|
OUTLET_COMMAND_TOPIC = "funhouse/outlet/set"
|
||||||
MOTION_TIMEOUT = 300 # Timeout in seconds
|
MOTION_TIMEOUT = 300 # Timeout in seconds
|
||||||
USE_MQTT = False
|
USE_MQTT = True
|
||||||
|
|
||||||
# Use dict to avoid reassigning the variable
|
# Use dict to avoid reassigning the variable
|
||||||
timestamps = {
|
timestamps = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue