update config

This commit is contained in:
joBr99
2022-03-25 16:57:11 +01:00
parent 811ad68f37
commit 100da87b59
3 changed files with 11 additions and 11 deletions

View File

@@ -244,14 +244,15 @@ Confiure your NSPanel as you like, you need to edit the `apps.yaml` inside of yo
You can have multiple nspanel sections. You can have multiple nspanel sections.
```yaml ```yaml
---
nspanel-1: nspanel-1:
module: nspanel-lovelace-ui module: nspanel-lovelace-ui
class: NsPanelLovelaceUIManager class: NsPanelLovelaceUIManager
config: config:
panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT" panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT"
panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend" panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"
updateMode: auto-notify # possible values are auto, auto-notify and manual updateMode: "auto-notify"
timeoutScreensaver: 15 #in seconds timeoutScreensaver: 20
#brightnessScreensaver: 10 #brightnessScreensaver: 10
brightnessScreensaver: brightnessScreensaver:
- time: "7:00:00" - time: "7:00:00"
@@ -263,7 +264,7 @@ nspanel-1:
# formatting options on https://babel.pocoo.org/en/latest/dates.html?highlight=name%20of%20day#date-fields # formatting options on https://babel.pocoo.org/en/latest/dates.html?highlight=name%20of%20day#date-fields
timeFormat: "%H:%M" timeFormat: "%H:%M"
dateFormat: "%A, %d. %B %Y" # ignored if babel python package is installed dateFormat: "%A, %d. %B %Y" # ignored if babel python package is installed
weatherEntity: weather.example weather: weather.example
pages: pages:
- type: cardEntities - type: cardEntities
heading: Example Page 1 heading: Example Page 1

View File

@@ -1,6 +1,6 @@
--- ---
nspanel: nspanel-1:
module: nspanel-lovelace-ui2 module: nspanel-lovelace-ui
class: NsPanelLovelaceUIManager class: NsPanelLovelaceUIManager
config: config:
panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT" panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT"
@@ -18,9 +18,7 @@ nspanel:
# formatting options on https://babel.pocoo.org/en/latest/dates.html?highlight=name%20of%20day#date-fields # formatting options on https://babel.pocoo.org/en/latest/dates.html?highlight=name%20of%20day#date-fields
timeFormat: "%H:%M" timeFormat: "%H:%M"
dateFormat: "%A, %d. %B %Y" # ignored if babel python package is installed dateFormat: "%A, %d. %B %Y" # ignored if babel python package is installed
buttonText: KLICKEN weather: weather.example
sceneText: ACTIVIEREN
weatherEntity: weather.example
pages: pages:
- type: cardEntities - type: cardEntities
heading: Example Page 1 heading: Example Page 1

View File

@@ -5,14 +5,15 @@ Checkout [README](https://github.com/joBr99/nspanel-lovelace-ui/blob/main/README
### App Configuration ### App Configuration
```yaml ```yaml
---
nspanel-1: nspanel-1:
module: nspanel-lovelace-ui module: nspanel-lovelace-ui
class: NsPanelLovelaceUIManager class: NsPanelLovelaceUIManager
config: config:
panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT" panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT"
panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend" panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"
updateMode: auto-notify # possible values are auto, auto-notify and manual updateMode: "auto-notify"
timeoutScreensaver: 15 #in seconds timeoutScreensaver: 20
#brightnessScreensaver: 10 #brightnessScreensaver: 10
brightnessScreensaver: brightnessScreensaver:
- time: "7:00:00" - time: "7:00:00"
@@ -24,7 +25,7 @@ nspanel-1:
# formatting options on https://babel.pocoo.org/en/latest/dates.html?highlight=name%20of%20day#date-fields # formatting options on https://babel.pocoo.org/en/latest/dates.html?highlight=name%20of%20day#date-fields
timeFormat: "%H:%M" timeFormat: "%H:%M"
dateFormat: "%A, %d. %B %Y" # ignored if babel python package is installed dateFormat: "%A, %d. %B %Y" # ignored if babel python package is installed
weatherEntity: weather.example weather: weather.example
pages: pages:
- type: cardEntities - type: cardEntities
heading: Example Page 1 heading: Example Page 1