- Expose buttons to HA
- HA Switch to control the transition
- Icons are not reloaded if its the same as before
This commit is contained in:
Stephan Mühl
2023-03-30 12:34:53 +02:00
parent 9381b2a33b
commit 249074d022
12 changed files with 92 additions and 30 deletions

View File

@@ -73,6 +73,7 @@ void DisplayManager_::MatrixState(bool on)
bool DisplayManager_::setAutoTransition(bool active)
{
if (ui.AppCount < 2)
{
ui.disablesetAutoTransition();
@@ -315,7 +316,6 @@ void DisplayManager_::generateCustomPage(String name, String payload)
String iconFileName = String(doc["icon"].as<String>());
if (customApp.icon && String(customApp.icon.name()).startsWith(iconFileName))
{
}
else
{