Compare commits

..

3 Commits

Author SHA1 Message Date
Johannes
735d017353 Update nspanel-lovelace-ui.py 2023-01-29 22:20:50 +01:00
Johannes Braun
e96b45e2ba fix theme 2023-01-29 22:20:03 +01:00
Johannes Braun
8d2e19aafb fix theme 2023-01-29 21:56:58 +01:00
10 changed files with 3 additions and 22 deletions

View File

@@ -348,7 +348,7 @@ Example alternative layout: `weatherUpdate~~~A~21130~~-0.7C~~~B~63469~Sat~3.6C~~
</tbody> </tbody>
</table> </table>
`color~background~tTime~timeAMPM~tDate~tMainText~tForecast1~tForecast2~tForecast3~tForecast4~tForecast1Val~tForecast2Val~tForecast3Val~tForecast4Val~bar~tMainTextAlt2~tMR~tTimeAdd` `color~background~tTime~timeAMPM~tDate~tMainText~tForecast1~tForecast2~tForecast3~tForecast4~tForecast1Val~tForecast2Val~tForecast3Val~tForecast4Val~bar~tMainTextAlt2~tTimeAdd`
<table> <table>
<thead> <thead>
@@ -493,14 +493,6 @@ Example alternative layout: `weatherUpdate~~~A~21130~~-0.7C~~~B~63469~Sat~3.6C~~
<td></td> <td></td>
<td></td> <td></td>
<td></td> <td></td>
<td>tMR</td>
<td></td>
</tr>
<tr>
<td>17</td>
<td></td>
<td></td>
<td></td>
<td>tTimeAdd</td> <td>tTimeAdd</td>
<td></td> <td></td>
</tr> </tr>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -7,23 +7,17 @@ default_screensaver_color_mapping = {
"time": "65535", "time": "65535",
"timeAMPM": "65535", "timeAMPM": "65535",
"date": "65535", "date": "65535",
"tMainIcon": "65535",
"tMainText": "65535", "tMainText": "65535",
"tForecast1": "65535", "tForecast1": "65535",
"tForecast2": "65535", "tForecast2": "65535",
"tForecast3": "65535", "tForecast3": "65535",
"tForecast4": "65535", "tForecast4": "65535",
"tF1Icon": "65535",
"tF2Icon": "65535",
"tF3Icon": "65535",
"tF4Icon": "65535",
"tForecast1Val": "65535", "tForecast1Val": "65535",
"tForecast2Val": "65535", "tForecast2Val": "65535",
"tForecast3Val": "65535", "tForecast3Val": "65535",
"tForecast4Val": "65535", "tForecast4Val": "65535",
"bar": "65535", "bar": "65535",
"tMRIcon": "65535", "tMainTextAlt2": "65535",
"tMR": "65535",
"tTimeAdd": "65535" "tTimeAdd": "65535"
} }

View File

@@ -28,7 +28,7 @@ class NsPanelLovelaceUIManager(hass.Hass):
desired_tasmota_driver_version = 8 desired_tasmota_driver_version = 8
desired_display_firmware_version = 49 desired_display_firmware_version = 49
version = "v3.9.0" version = "v3.9.3"
model = cfg.get("model") model = cfg.get("model")
if model == "us-l": if model == "us-l":

View File

@@ -52,7 +52,6 @@ key | option | type | default | description
`time` | True | list | White | `[R, G, B]` `time` | True | list | White | `[R, G, B]`
`timeAMPM` | True | list | White | `[R, G, B]` `timeAMPM` | True | list | White | `[R, G, B]`
`date` | True | list | White | `[R, G, B]` `date` | True | list | White | `[R, G, B]`
`tMainIcon` | True | list | White | `[R, G, B]`
`tMainText` | True | list | White | `[R, G, B]` `tMainText` | True | list | White | `[R, G, B]`
`tForecast1` | True | list | White | `[R, G, B]` `tForecast1` | True | list | White | `[R, G, B]`
`tForecast2` | True | list | White | `[R, G, B]` `tForecast2` | True | list | White | `[R, G, B]`
@@ -63,13 +62,9 @@ key | option | type | default | description
`tForecast3Val` | True | list | White | `[R, G, B]` `tForecast3Val` | True | list | White | `[R, G, B]`
`tForecast4Val` | True | list | White | `[R, G, B]` `tForecast4Val` | True | list | White | `[R, G, B]`
`bar` | True | list | White | `[R, G, B]` `bar` | True | list | White | `[R, G, B]`
`tMainIconAlt` | True | list | White | `[R, G, B]`
`tMainTextAlt` | True | list | White | `[R, G, B]` `tMainTextAlt` | True | list | White | `[R, G, B]`
`tMRIcon` | True | list | White | `[R, G, B]`
`tMR` | True | list | White | `[R, G, B]`
`tTimeAdd` | True | list | White | `[R, G, B]` `tTimeAdd` | True | list | White | `[R, G, B]`
Specify colours as red green and blue values from 0-255 e.g. `[255, 0, 0]` for red or `[0, 0, 255]` for blue. These are translated internally to RGB565 (note that this has lower color depth so the colours may not appear the same). Also note that the screen has a low contrast ratio, so colors look sigificantly different at full display brightness and lowest brightness. Specify colours as red green and blue values from 0-255 e.g. `[255, 0, 0]` for red or `[0, 0, 255]` for blue. These are translated internally to RGB565 (note that this has lower color depth so the colours may not appear the same). Also note that the screen has a low contrast ratio, so colors look sigificantly different at full display brightness and lowest brightness.
Example for the theme config: Example for the theme config: