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
* 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
Tested with the following integrations:
- AccuWeather - Better when forecast is enabled
- Met.no - Better when hourly entity is enabled
- OpenMeteo
- OpenWeatherMap
- SMHI
1. The blueprint will now ask for user to select the panel from the list of ESPHome devices instead of typing it's name, in order to reduce the chance of an error
-> The old name format still supported, so this is not a breaking change.
2. If a weather entity is not provided, the blueprint will pick one weather entity available, if any.