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.
```yaml
---
nspanel-1:
module: nspanel-lovelace-ui
class: NsPanelLovelaceUIManager
config:
panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT"
panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"
updateMode: auto-notify # possible values are auto, auto-notify and manual
timeoutScreensaver: 15 #in seconds
updateMode: "auto-notify"
timeoutScreensaver: 20
#brightnessScreensaver: 10
brightnessScreensaver:
- 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
timeFormat: "%H:%M"
dateFormat: "%A, %d. %B %Y" # ignored if babel python package is installed
weatherEntity: weather.example
weather: weather.example
pages:
- type: cardEntities
heading: Example Page 1

View File

@@ -1,6 +1,6 @@
---
nspanel:
module: nspanel-lovelace-ui2
nspanel-1:
module: nspanel-lovelace-ui
class: NsPanelLovelaceUIManager
config:
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
timeFormat: "%H:%M"
dateFormat: "%A, %d. %B %Y" # ignored if babel python package is installed
buttonText: KLICKEN
sceneText: ACTIVIEREN
weatherEntity: weather.example
weather: weather.example
pages:
- type: cardEntities
heading: Example Page 1

View File

@@ -5,14 +5,15 @@ Checkout [README](https://github.com/joBr99/nspanel-lovelace-ui/blob/main/README
### App Configuration
```yaml
---
nspanel-1:
module: nspanel-lovelace-ui
class: NsPanelLovelaceUIManager
config:
panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT"
panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"
updateMode: auto-notify # possible values are auto, auto-notify and manual
timeoutScreensaver: 15 #in seconds
updateMode: "auto-notify"
timeoutScreensaver: 20
#brightnessScreensaver: 10
brightnessScreensaver:
- 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
timeFormat: "%H:%M"
dateFormat: "%A, %d. %B %Y" # ignored if babel python package is installed
weatherEntity: weather.example
weather: weather.example
pages:
- type: cardEntities
heading: Example Page 1