Support to alarm entities everywhere

Solves #1109
This commit is contained in:
Edward Firmo
2023-12-17 22:52:30 +01:00
parent 278baa44f9
commit b5c8069e21
2 changed files with 24 additions and 30 deletions

View File

@@ -431,6 +431,7 @@ api:
then:
- lambda: |-
detailed_entity->publish_state(entity);
if (page == "alarm_control_panel") page = "alarm"
std::string cmd_page = std::string("page ") + page.c_str();
disp1->send_command_printf(cmd_page.c_str());
if (page_label.find("\\r") != std::string::npos) {