mirror of
https://github.com/esphome/esphome.git
synced 2024-12-03 13:34:01 +01:00
allow multiple graphical menus (#7809)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
parent
e02f3cdac7
commit
59653ec785
@ -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 = {
|
||||||
|
@ -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(
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user