mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 15:04:24 +01:00
fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
|
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
|
||||||
name: NSPanel Lovelace UI Addon
|
name: NSPanel Lovelace UI Addon
|
||||||
version: "4.7.20"
|
version: "4.7.21"
|
||||||
slug: nspanel-lovelace-ui
|
slug: nspanel-lovelace-ui
|
||||||
description: NSPanel Lovelace UI Addon
|
description: NSPanel Lovelace UI Addon
|
||||||
services:
|
services:
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ class LovelaceUIPanel:
|
|||||||
return_involved_entities=True
|
return_involved_entities=True
|
||||||
)
|
)
|
||||||
if entity_id in involved_entities:
|
if entity_id in involved_entities:
|
||||||
dimmode()
|
self.dimmode()
|
||||||
|
|
||||||
|
|
||||||
def render_current_page(self, switchPages=False):
|
def render_current_page(self, switchPages=False):
|
||||||
@@ -124,7 +124,7 @@ class LovelaceUIPanel:
|
|||||||
if self.current_card.config.get("sleepTimeout"):
|
if self.current_card.config.get("sleepTimeout"):
|
||||||
sleepTimeout = self.current_card.config.get("sleepTimeout")
|
sleepTimeout = self.current_card.config.get("sleepTimeout")
|
||||||
libs.panel_cmd.timeout(self.sendTopic, sleepTimeout)
|
libs.panel_cmd.timeout(self.sendTopic, sleepTimeout)
|
||||||
dimmode()
|
self.dimmode()
|
||||||
|
|
||||||
def dimmode():
|
def dimmode():
|
||||||
# send dimmode
|
# send dimmode
|
||||||
|
|||||||
Reference in New Issue
Block a user