mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-01 02:20:12 +01:00
.
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.44"
|
version: "4.7.46"
|
||||||
slug: nspanel-lovelace-ui
|
slug: nspanel-lovelace-ui
|
||||||
description: NSPanel Lovelace UI Addon
|
description: NSPanel Lovelace UI Addon
|
||||||
services:
|
services:
|
||||||
@@ -17,15 +17,8 @@ init: false
|
|||||||
map:
|
map:
|
||||||
- addon_config:rw
|
- addon_config:rw
|
||||||
options:
|
options:
|
||||||
loglevel:
|
loglevel: DEBUG
|
||||||
- DEBUG
|
logtofile: true
|
||||||
- INFO
|
|
||||||
- WARNING
|
|
||||||
- ERROR
|
|
||||||
- CRITICAL
|
|
||||||
logtofile:
|
|
||||||
- true
|
|
||||||
- false
|
|
||||||
schema:
|
schema:
|
||||||
loglevel: list(DEBUG|INFO|WARNING|ERROR|CRITICAL)
|
loglevel: list(DEBUG|INFO|WARNING|ERROR|CRITICAL)
|
||||||
logtofile: bool
|
logtofile: bool
|
||||||
|
|||||||
@@ -213,7 +213,7 @@ def execute_script(entity_name: str, domain: str, service: str, service_data: di
|
|||||||
raise TimeoutError("Did not recive respose in time to HA script call")
|
raise TimeoutError("Did not recive respose in time to HA script call")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.exception("Failed to call Home Assisatant script.")
|
logging.exception("Failed to call Home Assisatant script.")
|
||||||
return False
|
return {}
|
||||||
|
|
||||||
def cache_template(template):
|
def cache_template(template):
|
||||||
global next_id, response_buffer
|
global next_id, response_buffer
|
||||||
|
|||||||
Reference in New Issue
Block a user