Commit Graph

105 Commits

Author SHA1 Message Date
Edward Firmo
4392bf251b Fix variable name hotwater_pic_on -> hotw_bt_on
Trying to avoid merging conflict with #538
2023-03-26 17:54:06 +02:00
Edward Firmo
9616ea4c8f Merging weather01 page into the others
- All the weather pages now shares the same code, increasing standardization
- Support for other forecast parameters when supported by the integration
- Removed empty rows between the forecast parameters
2023-03-26 17:21:10 +02:00
Edward Firmo
881c50dd1f Code refactoring - Weather & Climate
Code refactoring on Weather and Climate entities/pages in order to make easier to maintain and understand.
2023-03-24 23:52:45 +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
deejaybeam
cf430fc1a8 fix: Nspanel stays on loading 2023-03-23 21:54:39 +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
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
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
Joachim Wickman
e70fcd54eb Fix so home page works when one of home values 01-03 is unavailable.
Signed-off-by: Joachim Wickman <joachim@wickman.in>
2023-03-17 09:00:34 +02:00
Blackymas
b5cd83240f fixed heating button 2023-03-15 20:37:37 +01:00
Edward Firmo
7d241d1400 Fix warning on settings_entity_value
Fix warning message: 
Template variable warning: list object has no element 3 when rendering '{%- if settings_entity_value != "unknown" -%} {{ settings_entity_value.split(',')[3] }} {%- else -%} unknown {%- endif -%}'
2023-03-15 08:29:08 +01:00
Blackymas
36e0344345 fix lightslider 2023-03-14 22:17:37 +01:00
Blackymas
0abd5531cb bug fixes 2023-03-12 21:29:41 +01:00
Blackymas
5035b89956 lightslider jump to page change 2023-03-06 08:48:26 +01:00
Blackymas
a2f5e69b76 new slider function brightness, temp, color, cover 2023-03-06 01:09:09 +01:00
Blackymas
8abfee7b54 chips, free value, bugs, reworked code 2023-03-05 11:18:19 +01:00
Blackymas
133165e79e chips mapping 2023-02-22 20:27:51 +01:00
Blackymas
6704e320da rebuild home page done 2023-02-22 01:05:05 +01:00
Blackymas
26844cd290 change home Button, icons, color 2023-02-22 00:36:42 +01:00
Blackymas
f7131aaca0 add 7 free chips with icon - change chips 01-03 2023-02-21 01:02:28 +01:00
Blackymas
8f5165bd1b fix trigger wrong input home_value03 2023-02-20 12:50:38 +01:00
Blackymas
e751938cdd 3 new values on home page with icon 2023-02-20 01:19:59 +01:00
Blackymas
a0b8697a4f New Button Design + Weather Icon change 2023-02-19 22:39:31 +01:00
deejaybeam
6642a46a04 upd: button-pages 2023-02-17 18:06:33 +01:00
Blackymas
0b856cbb83 rebuild buttons v.1 2023-02-17 08:21:55 +01:00
Chris
45907e1ce5 fix: applying climate-settings 2023-02-13 09:05:08 +01:00
deejaybeam
4801f6c6b9 upd: use new tft multi-climate 2023-02-12 12:23:41 +01:00
Edward Firmo
281be927a7 Fix default language input
Fix default language so it can be used when no selection is done (like when upgrading from earlier version when language input was not available).
2023-02-11 20:53:16 +01:00
deejaybeam
c058fd4fb1 upd: open climate on short_press too 2023-02-11 19:02:19 +01:00
deejaybeam
da611e384a upd: multi-climate 2023-02-11 18:28:41 +01:00
deejaybeam
a22311c4e8 upd: prep for release 3.1.1 2023-02-10 20:56:14 +01:00
deejaybeam
5ba5d2fb08 fix: issue on ha-restart 2023-02-08 22:24:17 +01:00