mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 14:37:01 +01:00
Update panel_cmd.py
This commit is contained in:
@@ -1,10 +1,5 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
def init(mqtt_client_from_manager):
|
|
||||||
global mqtt_client
|
|
||||||
mqtt_client = mqtt_client_from_manager
|
|
||||||
|
|
||||||
|
|
||||||
def custom_send(msg_out_queue, topic, msg):
|
def custom_send(msg_out_queue, topic, msg):
|
||||||
msg_out_queue.put((topic, msg))
|
msg_out_queue.put((topic, msg))
|
||||||
logging.debug("Sent Message to NsPanel (%s): %s", topic, msg)
|
logging.debug("Sent Message to NsPanel (%s): %s", topic, msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user