Commit Graph

3487 Commits

Author SHA1 Message Date
joBr99
d2f35e738d Fix nav item if there is only one page 2022-12-29 16:44:24 +01:00
joBr99
23c9df2624 Update config.py 2022-12-29 16:35:01 +01:00
EddyK69
b6444dccb7 Respect iconOverride on navigate & service (#650)
iconOverrides on navigates & services where not shown when the status entity was of type 'sensor' on cardGrids
2022-12-29 14:09:23 +01:00
joBr99
7341fa7bd8 fixes #649 2022-12-29 14:00:01 +01:00
Armilar
71e69a3e44 v3.7.3.1 - Hotfix - Dateformat us-p
Hotfix - us-p - DateString - Use long/short Weekday and long/short Month
2022-12-29 11:39:10 +01:00
Armilar
acfb380942 v3.7.3.1 - Hotfix - Dateformat us-p
Hotfix - us-p - DateString - Use long/short Weekday and long/short Month
2022-12-29 11:33:40 +01:00
Daniel Albert
4f3dbf20e9 Add status functionality for non-entities (#645)
* Add status functionality for non-entities

I wanted to show services on `cardGrid` pages conditionally, using the
`state` and `state_not` options and based on a `status` entity.
The documentation looked as if this was possible, however it didn't work
due to the order of evaluation.

This change makes it possible to hide any item using `state` /
`state_not`, based on either the `entity` itself or the information
provided by the `status` entity.

This basically implements #483, I think.

* Use if/then/else instead of and/or expression evaluation rules

This improves the readability of the code for people not familiar with
the evaluation of and / or expressions.

Co-authored-by: Daniel Albert <esclear@users.noreply.github.com>
2022-12-29 09:50:52 +01:00
joBr99
aa1dab9ac7 Revert docs to old config, until release 2022-12-29 09:22:14 +01:00
joBr99
f79f976bc4 revert to if else syntax, to keep compatibility with python 3.9 2022-12-29 09:20:36 +01:00
joBr99
64d3bc9fd7 fix issue if there is only one top level card 2022-12-29 00:24:32 +01:00
joBr99
b08f6897d5 Update docs.yml 2022-12-28 23:18:56 +01:00
Armilar
b555476be2 v3.7.3.0 Hotfix - bUp case / Update Berry Version 8
- Hotfix - bUp case
- Update Berry Version 8
2022-12-28 20:32:03 +01:00
Armilar
c10d6d9ca5 v3.7.3.0 Hotfix - bUp case / Update Berry Version 8
- Hotfix - bUp case
- Update Berry Version 8
2022-12-28 20:24:16 +01:00
joBr99
aa0229c295 add compiled version 2022-12-28 20:18:16 +01:00
joBr99
f976e7a738 start reworking navigation paramters (#644) (add nextion2text) 2022-12-28 19:03:54 +00:00
joBr99
f0c5b5b429 start reworking navigation paramters (#644)
* modify cardGrid/cardEntities nav

* rework backend nav for new style

* fix some bugs

* update other pages with new nav paramters

* readd readme part
2022-12-28 20:00:44 +01:00
Armilar
ff792a0bb3 Merge pull request #642 from kuckuckmann/patch-5
Create RGB_Dec565_rechner.xml
2022-12-28 15:59:25 +01:00
kuckuckmann
debde30668 Create RGB_Dec565_rechner.xml 2022-12-28 15:57:36 +01:00
Daniel Albert
172fed930d Make single, right status icon possible (#640)
According to the [screensaver documentation](https://docs.nspanel.pky.eu/config-screensaver/),
the `statusIcon2` option controls the status icon right of the date.

However, if only `statusIcon2` is configured, it would have landed on the left
side, instead of the right side.
This commit adds padding for unconfigured status icons.

Co-authored-by: Daniel Albert <esclear@users.noreply.github.com>
2022-12-27 22:13:40 +01:00
Armilar
eb481ca8ec Merge pull request #638 from kuckuckmann/patch-4
Rename Alarm_Page_Erweitertes_Skript_mit_PopupNotifyPage.xml.xml to A…
2022-12-27 15:38:11 +01:00
kuckuckmann
ec179d37c7 Rename Alarm_Page_Erweitertes_Skript_mit_PopupNotifyPage.xml.xml to Alarm_Page_Erweitertes_Skript_mit_PopupNotifyPage.xml 2022-12-27 15:29:51 +01:00
Armilar
1e8361eae9 Delete Spotify_Premium_Alias.js 2022-12-27 15:08:01 +01:00
Armilar
bdc4f7479b Delete Sonos_Alias.js 2022-12-27 15:07:35 +01:00
Armilar
a450018f84 Delete Alexa2_Alias.js 2022-12-27 15:07:17 +01:00
Daniel Albert
4f66d0eaca Fix state / state_not logic error for entities (#637)
According to the documentation, an entity is only displayed
* if `state` is set: if the entity state is equal to the `state` value
* if `state_not` is set: if the entity state is _not_ equal to the `state_not` value

So `""` – an **empty** string – shall only be returned – i.e. the **entity be hidden**
* if `state` is set: if the entity state is **not** equal to the `state` value
* if `state_not` is set: if the entity state is equal to the `state_not` value

Co-authored-by: Daniel Albert <esclear@users.noreply.github.com>
2022-12-27 14:14:18 +01:00
Armilar
d83cebdf29 Merge pull request #636 from kuckuckmann/patch-3
Patch 3
2022-12-27 14:01:01 +01:00
kuckuckmann
3688debcd0 Create PopupNotify_layout2_Emulator.xml 2022-12-27 13:57:41 +01:00
kuckuckmann
62b597832f Create CardChart.xml 2022-12-27 13:56:50 +01:00
kuckuckmann
6e96541d5a Create CardPower_Emulator_Skript.xml 2022-12-27 13:55:48 +01:00
kuckuckmann
cc62466862 Create SqueezeBoxRPC_Alias.js 2022-12-27 13:50:29 +01:00
kuckuckmann
f1601337f0 Create Chrome_Alias.js 2022-12-27 13:49:45 +01:00
kuckuckmann
2ae8000a79 Create Sonos_Alias.js 2022-12-27 13:49:11 +01:00
kuckuckmann
7722f6aef0 Create Alexa2_Alias.js 2022-12-27 13:48:40 +01:00
kuckuckmann
49df856142 Create Spotify_Premium_Alias.js 2022-12-27 13:48:12 +01:00
kuckuckmann
254b6ae708 Create PopupTimer.xml 2022-12-27 13:46:20 +01:00
Armilar
e4d0dfe92d Merge pull request #634 from kuckuckmann/patch-2
Create CardMedia_Equalizer.xml
2022-12-27 13:42:24 +01:00
Armilar
74f450b5e9 Merge pull request #635 from kuckuckmann/patch-1
Patch 1
2022-12-27 13:41:56 +01:00
kuckuckmann
22c8bafec6 Create CardMedia_Equalizer.xml 2022-12-27 13:37:44 +01:00
kuckuckmann
445b200d21 Create CardMedia_Equalizer.xml 2022-12-27 13:32:16 +01:00
Armilar
839a5766a7 Create Abfallkalender.xml 2022-12-27 13:31:38 +01:00
kuckuckmann
0037b35c41 Create DWD_Daten_Broadcast.xml 2022-12-27 13:31:17 +01:00
kuckuckmann
7c19cedc37 Create Hardware-Buttons_Multipress.xml 2022-12-27 13:30:07 +01:00
kuckuckmann
548269cee5 Create Abfallkalender.js 2022-12-27 13:29:12 +01:00
kuckuckmann
3557b2d5a0 Create Abfallkalender.xml 2022-12-27 13:28:39 +01:00
kuckuckmann
720d19060e Create Screensaver-Info_auf_Request.xml 2022-12-27 13:27:28 +01:00
kuckuckmann
72ab444f19 Create Alarm_Page_Erweitertes_Skript_mit_PopupNotifyPage.xml.xml 2022-12-27 13:25:54 +01:00
kuckuckmann
3cf692309a Create Alarm_Page_Testskript.xml
Exclude Blockly out of Wiki article https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker---FAQ-&-Anleitungen#2-alarm-page
2022-12-27 13:20:03 +01:00
joBr99
6eb94a4619 Update nspanel-lovelace-ui.py 2022-12-27 01:06:09 +01:00
joBr99
17b7696d62 rework update logic with migration 2022-12-27 00:57:31 +01:00
joBr99
312f7c88aa update docs for berry driver installation 2022-12-27 00:03:58 +01:00