mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-21 21:54:46 +01:00
Update nspanel-lovelace-ui.py
This commit is contained in:
@@ -143,7 +143,8 @@ class NsPanelLovelaceUI:
|
|||||||
self.send_mqtt_msg(f"time,{time}")
|
self.send_mqtt_msg(f"time,{time}")
|
||||||
|
|
||||||
def update_date(self, kwargs):
|
def update_date(self, kwargs):
|
||||||
if self.babel_spec is not None:
|
global babel_spec
|
||||||
|
if babel_spec is not None:
|
||||||
self.api.log("Babel package found", level="DEBUG")
|
self.api.log("Babel package found", level="DEBUG")
|
||||||
if "dateFormatBabel" in self.config:
|
if "dateFormatBabel" in self.config:
|
||||||
dateformat = self.config["dateFormatBabel"]
|
dateformat = self.config["dateFormatBabel"]
|
||||||
|
|||||||
Reference in New Issue
Block a user