1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

allow multiple graphical menus (#7809)

Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
Samuel Sieb
2024-11-24 12:40:28 -10:00
committed by GitHub
parent e02f3cdac7
commit 59653ec785
2 changed files with 2 additions and 2 deletions

View File

@@ -68,8 +68,6 @@ IsActiveCondition = display_menu_base_ns.class_(
"IsActiveCondition", automation.Condition "IsActiveCondition", automation.Condition
) )
MULTI_CONF = True
MenuItemType = display_menu_base_ns.enum("MenuItemType") MenuItemType = display_menu_base_ns.enum("MenuItemType")
MENU_ITEM_TYPES = { MENU_ITEM_TYPES = {

View File

@@ -36,6 +36,8 @@ CODEOWNERS = ["@MrMDavidson"]
AUTO_LOAD = ["display_menu_base"] AUTO_LOAD = ["display_menu_base"]
MULTI_CONF = True
CONFIG_SCHEMA = DISPLAY_MENU_BASE_SCHEMA.extend( CONFIG_SCHEMA = DISPLAY_MENU_BASE_SCHEMA.extend(
cv.Schema( cv.Schema(
{ {