Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page. It will show the detailed settings page, so the entity must be compatible.
This commit is contained in:
@@ -1397,7 +1397,7 @@ text_sensor:
|
||||
ESP_LOGV("text_sensor.localevent", "Construct new page");
|
||||
}
|
||||
else if (event=="short_click" or event=="long_click") id(ha_button)->execute(page.c_str(), component.c_str(), event.c_str());
|
||||
else if (page == "light" or page == "climate" or page == "notification" or page == "media_player")// Generic event
|
||||
else if (page == "light" or page == "climate" or page == "notification")// Generic event
|
||||
{
|
||||
ha_event->fire_homeassistant_event("esphome.nspanel_ha_blueprint",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user