mirror of
https://github.com/Dielee/volvo2mqtt.git
synced 2026-08-12 18:59:53 +02:00
Set otp state right after HA input
This commit is contained in:
@@ -133,6 +133,7 @@ def on_message(client, userdata, msg):
|
||||
if msg.topic == otp_mqtt_topic:
|
||||
global otp_code
|
||||
otp_code = payload
|
||||
set_otp_state()
|
||||
return None
|
||||
else:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user