mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 06:27:01 +01:00
should fix #841
This commit is contained in:
@@ -369,7 +369,7 @@ class LuiPagesGen(object):
|
|||||||
entityTypePanel = "text"
|
entityTypePanel = "text"
|
||||||
unit = get_attr_safe(entity, "temperature_unit", "")
|
unit = get_attr_safe(entity, "temperature_unit", "")
|
||||||
if type(item.stype) == int and len(entity.attributes.forecast) >= item.stype:
|
if type(item.stype) == int and len(entity.attributes.forecast) >= item.stype:
|
||||||
fdate = dp.parse(entity.attributes.forecast[item.stype]['datetime']).astimezone()
|
fdate = dp.parse(entity.attributes.forecast[item.stype]['datetime'])
|
||||||
global babel_spec
|
global babel_spec
|
||||||
if babel_spec is not None:
|
if babel_spec is not None:
|
||||||
dateformat = "E" if item.nameOverride is None else item.nameOverride
|
dateformat = "E" if item.nameOverride is None else item.nameOverride
|
||||||
|
|||||||
Reference in New Issue
Block a user