mirror of
https://github.com/esphome/esphome.git
synced 2024-11-08 09:40:53 +01:00
Display: fix class inherence in Python script (#6009)
This commit is contained in:
parent
7bce999bba
commit
b68420b2cc
@ -18,8 +18,8 @@ from esphome.core import coroutine_with_priority
|
|||||||
IS_PLATFORM_COMPONENT = True
|
IS_PLATFORM_COMPONENT = True
|
||||||
|
|
||||||
display_ns = cg.esphome_ns.namespace("display")
|
display_ns = cg.esphome_ns.namespace("display")
|
||||||
Display = display_ns.class_("Display")
|
Display = display_ns.class_("Display", cg.PollingComponent)
|
||||||
DisplayBuffer = display_ns.class_("DisplayBuffer")
|
DisplayBuffer = display_ns.class_("DisplayBuffer", Display)
|
||||||
DisplayPage = display_ns.class_("DisplayPage")
|
DisplayPage = display_ns.class_("DisplayPage")
|
||||||
DisplayPagePtr = DisplayPage.operator("ptr")
|
DisplayPagePtr = DisplayPage.operator("ptr")
|
||||||
DisplayRef = Display.operator("ref")
|
DisplayRef = Display.operator("ref")
|
||||||
|
Loading…
Reference in New Issue
Block a user