Commit Graph

664 Commits

Author SHA1 Message Date
Chris
485e5cc8d2 Merge branch 'dev' of https://github.com/deejaybeam/NSPanel_HA_Blueprint into dev 2023-03-26 19:59:44 +02:00
Chris
175c927ee8 upd: blank.tft 2023-03-26 19:59:38 +02:00
Chris
220b5fb02b Merge pull request #532 from deejaybeam/dev
fix: remove hp-bottons on disable in blueprint
2023-03-26 00:41:11 +01:00
deejaybeam
a0a0d16af7 fix: remove hp-bottons on disable in blueprint 2023-03-26 00:40:42 +01:00
Blackymas
f97b298d00 repositioning date and time 2023-03-26 00:19:18 +01:00
Chris
6feba8a56d Merge pull request #531 from deejaybeam/dev
upd: remove unneeded link
2023-03-25 23:50:25 +01:00
deejaybeam
0ff61a2e4a upd: remove unneeded link 2023-03-25 23:49:53 +01:00
Blackymas
aee6e7bb57 repositioning date 2023-03-25 23:45:05 +01:00
Chris
602a58cc40 Merge pull request #530 from deejaybeam/dev
fix: hw-button hold display
2023-03-25 23:36:57 +01:00
Chris
5e45641687 Merge branch 'Blackymas:dev' into dev 2023-03-25 23:36:19 +01:00
deejaybeam
8b2beec50c fix: hw-button long press display 2023-03-25 23:26:44 +01:00
Blackymas
3278de673a new time format 2023-03-25 23:19:11 +01:00
Blackymas
3cf5fb3eeb new time format 2023-03-25 23:15:56 +01:00
Chris
d53a34b83f Merge pull request #529 from deejaybeam/dev
upd: reload automation triggers page refresh
2023-03-25 15:29:05 +01:00
deejaybeam
e4f0dba8fa upd: reload automation triggers page refresh 2023-03-25 15:28:08 +01:00
Chris
3ea33a6dfa Merge pull request #528 from deejaybeam/dev
upd: blueprint version 3.2.1
2023-03-25 12:42:48 +01:00
deejaybeam
6b11ffb7cf upd: bluleprint version 3.2.1 2023-03-25 12:41:54 +01:00
Chris
3047204272 Merge pull request #527 from edwardtfn/patch-20
Add support to `input_boolean` to chips
2023-03-25 12:37:56 +01:00
Chris
61af338a96 Merge pull request #522 from edwardtfn/patch-18
Fix for warning "list object has no element n"
2023-03-25 12:35:25 +01:00
Chris
729414944b Merge pull request #521 from edwardtfn/patch-17
Fix "Loading..." when selected before RGB picker
2023-03-25 12:34:29 +01:00
Edward Firmo
44836d1e4d Add support to input_boolean to chips
- Chips now supports `input_boolean` entities (Toggle Helpers).

This resolves #479.
2023-03-25 07:37:33 +01:00
Edward Firmo
ce7dfb1423 Fix for warning "list object has no element n"
Fix for the following error happening when opening climate page (and maybe other pages also):
```
Template variable warning: list object has no element 3 when rendering '{%- if settings_entity_value != "unknown" and settings_entity_value.split(',') | count >= 3 -%} {{ settings_entity_value.split(',')[3] }} {%- else -%} unknown {%- endif -%}'
```
2023-03-24 18:41:41 +01:00
Edward Firmo
c45bd4057f Fix "Loading..." when selected colors before 3.2.1
- Fix for "Loading..." taking forever when a color was selected prior to the new RGB picker and was not updated.

* This is no fixing the input itself, so users still having to pick a color again with the new selector, but the panel won't get stuck on "Loading..." before the new color selection is made.
2023-03-24 11:14:15 +01:00
Chris
7f7d496beb Merge pull request #476 from bakito/patch-1
Add Home Assistant Icon Page to blueprint
2023-03-23 22:34:38 +01:00
Chris
c7ec9f97b7 Merge pull request #510 from edwardtfn/patch-13
Support to date & time formats
2023-03-23 22:23:24 +01:00
Chris
3c58a29e73 Merge pull request #513 from edwardtfn/patch-15
Fix error related to dict not containing on/off
2023-03-23 22:04:44 +01:00
Chris
7fd5658630 Merge pull request #514 from edwardtfn/patch-16
Fix for "Error rendering data template"
2023-03-23 22:03:28 +01:00
Chris
81f6783ca1 Merge pull request #518 from deejaybeam/dev
fix: Nspanel stays on loading
2023-03-23 21:55:25 +01:00
deejaybeam
cf430fc1a8 fix: Nspanel stays on loading 2023-03-23 21:54:39 +01:00
Chris
7f6c9c696b Merge pull request #516 from deejaybeam/dev
upd: use rgb color-picker
2023-03-23 14:48:29 +01:00
deejaybeam
7580a38b4f upd: use rgb color-picker 2023-03-23 14:47:31 +01:00
Edward Firmo
14532444bc Fix for "Error rendering data template"
This fix the following error which happens when an entity with a non-numeric value ('unknown', 'unavailable', some text, etc.) is sent to the device:

```
Error: Error rendering data template: ValueError: Template error: round got invalid input 'Geen' when rendering template '{{ states(repeat.item.entity) |round(1) }}{{ state_attr(repeat.item.entity, "unit_of_measurement") }}' but no default was specified
```
This may also implement the feature requested in #490
2023-03-23 12:50:49 +01:00
Edward Firmo
f2a424027d Fix error related to dict not containing on/off
Replace dict key names where reserved names (on/off) have been used.
2023-03-23 12:17:22 +01:00
Edward Firmo
f038eaed87 Support to date & time formats
This add the support to user selected date and time formats.
The following formats are supported now:
- Date formats:
  - EU: 22.03
  - UK: 22/03
  - US: 3/22
- Time formats:
  - EU/UK: 13:30
  - US: 1:30 AM/PM (the AM7PM info will be depending on updates on TFT file)
2023-03-23 07:01:31 +01:00
Chris
3f00773927 Merge pull request #509 from edwardtfn/patch-12
Fix for slow response with "Loading..."
2023-03-22 21:44:38 +01:00
Chris
7e63a4cb18 Merge pull request #508 from edwardtfn/patch-11
Removed incorrect instance of `- choice`
2023-03-22 21:44:21 +01:00
Chris
e6fd475947 Merge pull request #498 from edwardtfn/patch-9
Optimizing Multilingual User Interface
2023-03-22 21:44:00 +01:00
Chris
1869f8023d Merge pull request #482 from edwardtfn/patch-8
Simplifying code - Input area
2023-03-22 21:43:25 +01:00
Edward Firmo
860f5ddbba Fix for slow response with "Loading..."
- Fix the error where a missing/invalid entity causes the panel to slow down when opening a new page or keeps with "Loading..." on the screen until it timeouts.

This will probably fix #493
2023-03-22 20:28:01 +01:00
Edward Firmo
218ef94c9c Removed incorrect entry of - choice
This was probably a copy/paste mistake. ;)
2023-03-22 19:39:49 +01:00
Edward Firmo
730e0acd99 Removed multiple instances of list of days 2023-03-22 16:37:16 +01:00
Marc Brugger
c8afa129b5 remove .idea 2023-03-22 11:06:11 +01:00
Edward Firmo
1aed46b71f Optimizing Multilingual User Interface
- Optimizing MUI (Multilingual User Interface) code in order to make easier add new languages and to read the code. It will probably consume a bit less resources by reducing the number of `if..elif...` and by removing a bunch of `string.replace`.

- Language selection list sorted alphabetically in order to make easier to find
2023-03-21 17:52:02 +01:00
Blackymas
d58ba87dbb Fix Notification 2023-03-20 20:45:31 +01:00
Edward Firmo
640e245cf8 Simplifying code - Input area
Used YAML alias to simplify the code in the `input:` area. This will make easier to maintain as it creates single points of changes, promoting consistence.
2023-03-20 15:23:59 +01:00
Marc Brugger
f056dace88 Add Home Assistant Icon Page and link to color converter to blueprint 2023-03-19 19:16:11 +01:00
Blackymas
8ff0cad379 fix value 03 position 2023-03-19 13:20:54 +01:00
Blackymas
6a464325d7 remove obsolete spaces 2023-03-18 00:50:29 +01:00
Blackymas
3af0c20670 Merge pull request #456 from Floppe/homesensor
Fix so homepage works when one of home values 01-03 is unavailable.
2023-03-18 00:37:10 +01:00
Blackymas
7ee10d4ca6 Merge pull request #445 from edwardtfn/patch-4
Fix warning on settings_entity_value
2023-03-18 00:36:17 +01:00