* More flexible `date_format` engine
This is not changing anything for normal users other than minor UI on the blueprint setting, however will start using the `date_format` in a python standard string, but translating `%A` with existing weekdays in MUI.
Advanced users will be able to edit they automation yaml (either in `automations.yaml` file or editing the automation in yaml mode) in order to use any format they want.
=> This is not adding new translations to short week days or months, so if users add this in advanced mode, it will be shown in English.
* Added support for translation of date strings
Support translations to all date related strings.
=> Pending the translations - to ask support from the community.
* Support for custom date formats
* Fixed translation PRT
* Update nspanel_blueprint.yaml
This is a simplified version of #728 which is easier to maintain, as only conditions for entities pages have being added.
So the scope is limited to:
- Auto-update entity pages without compromising overall performance. (Entities page values not updating unless re-opened #410)
Takes advantage of new global vars implemented by eee2bb7295
This will improve drastically the speed on displaying the Home page.
This push removes the update of date & time from the Home page and moved it to the time minute trigger (every minute), regardless the page shown (including when sleeping).
The time is also update after a boot (to ensure there's a time value when the Home page is displayed for the first time) and with an automation reload (just to cover the case when time format changes).
This prevents message `Nextion reported variable name invalid!` when the button have a state other than `on` or `off`, like when it is connected to a stateless entity (scene, automation, etc.).
The systems won't crash if the climate entity doesn't have a `temperature` attribute.
It will try to calculate target from `target_temp_high` and `target_temp_low` otherwise will keep target temperature as empty.
This solves #749
* Fix units on indoor temperature
It will now show units from ùnit_of_measurement` to keep consistence with other value entities on Home page.
This solves #755
* Removing redundancy
Implement visual feedback for stateless entities (whatever finishes with a state other than `on`, `off`, `open` and `closed`, like scenes, automations, buttons, etc.).
This extends b18f2848f4 and solves #691.
* Changes to nextion_inited
Changed from `switch` named `Nextion inited` (with entity_id like `switch.xxxx_nextion_inited`) to a `binary_sensor` named `Nextion display` (`binary_sensor.xxxx_nextion_display`).
The idea is to avoid users trying to change it's state from Home Assistant (with unknown consequences) and make this entity more clear, improving usability.
* Change `nextion_inited` to a sensor
* Rename 'Sleep mode' switch
Renamed from `Sleep Modus` to `Sleep mode`.
Breaking change: This will rename the entity_id of that switch and this can affect existing automations created by users and also will require changes in the blueprint if #698 is merged.
Note: Variable names in HMI/TFT not renamed.
* Align with other PR
The QR code have a link to the repository, but perhaps this could be changed later to point directly to a page with instruction of what to do if a user see that screen.
The file is growing by less than 1kb and I believe a QR code with a link gives to the users a better feeling than a totally white screen where they cannot interact with.
* Standardize inputs descriptions
Standardize the descriptions on all inputs (visible to users when setting up the Blueprint)
* Removing trailing spaces
* Break down long lines
To improve readability.
* Update nspanel_blueprint.yaml
* Breaking down long lines
To improve readability.
* Clean-up
* Breaking down long lines