The weather integration is now automatically detected by the Blueprint, based on the attributes provided by the integration itself, so an user selection is not needed anymore.
* Code refactoring - Nextion constants - Colors
No changes in functionalities. Just renaming variables related to colors in order to improve readability.
* Code refactoring - Nextion constants - Icons
* Adding aliases on the first level actions
This will make easier troubleshooting as aliases are shown in the logs.
* Nextion constants - Pages
* Nextion constants - Commands
* Nextion constants - Other pics
* Fixed typo in nextion.pics.hardware.button
* Fixed " 'mui_weekday_today' is undefined"
* Code refactoring/standardization
Refactoring:
- Weather pages
- It might support any weather integration now, including OpenWeather)
- New string for translation (when weather info is not available for a certain day)
- Home page (partial)
* Fix bug "'home_page_values' is undefined"
* Code refactoring - Button pages
Rebuilt button pages in order to improve readability and maintainability.
No changes on functionalities,
* Changed blueprint version to v3.2.2
* Refactoring entities pages
* Reorganizing inputs to improve readability
* Bug fixes: qrcode icon & weather provider
- Fixed bug preventing to detect that QR Code was enabled in order to display the QR code icon on Home page
- Fixed weather integration detection
* Review states(entity_id) to make it more resilient
Reduce the chances of crash if a `states(entity_id)` returns an error.
* Make state_attr(entity_id, attr) more resilitent
To avoid crashes with an invalid return.
* Perf improv: Don't load weather vars unless needed
Performance improvement - don't load weather vars when those are not needed.
* Using alias for delay_value
To make easier to maintain the code.
* Code refactoring: Button press/status
Optimizing code in order to improve readability & maintainability.
* Reorganizing pages variables
- 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
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 -%}'
```
- 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.
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
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)