Use Home Assistant icon selector for icons (#657)

* Use Home Assistant icon selector for icons

Replace all icon selection to Home Assistant native icon selector, improving the user experience.

Note: As not all the MDI icons are available for Nextion, if one of those icons is selected it will be displayed as a question mark `?`.

* Fix button icon when unavailable

Apply fixed from PR#660 into this branch to avoid merging conflicts in the future.

* Supports legacy icon selection

This add the support for legacy icon selection, so icons will still be shown if users install the new version in an environment where icons where previously selected.
This commit is contained in:
Edward Firmo
2023-04-13 13:16:52 +02:00
committed by GitHub
parent e1b1543a25
commit 1d2138fefd

File diff suppressed because one or more lines are too long