[gcja5][cd74hc4067][openthread_info] Fix PollingComponent mismatches (#15476)

This commit is contained in:
Jonathan Swoboda
2026-04-06 16:31:40 -04:00
committed by GitHub
parent e86978f0da
commit a7963bee98
3 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -9,9 +9,7 @@ MULTI_CONF = True
cd74hc4067_ns = cg.esphome_ns.namespace("cd74hc4067")
CD74HC4067Component = cd74hc4067_ns.class_(
"CD74HC4067Component", cg.Component, cg.PollingComponent
)
CD74HC4067Component = cd74hc4067_ns.class_("CD74HC4067Component", cg.Component)
CONF_PIN_S0 = "pin_s0"
CONF_PIN_S1 = "pin_s1"
+1 -1
View File
@@ -24,7 +24,7 @@ DEPENDENCIES = ["uart"]
gcja5_ns = cg.esphome_ns.namespace("gcja5")
GCJA5Component = gcja5_ns.class_("GCJA5Component", cg.PollingComponent, uart.UARTDevice)
GCJA5Component = gcja5_ns.class_("GCJA5Component", cg.Component, uart.UARTDevice)
CONF_PMC_0_3 = "pmc_0_3"
CONF_PMC_5_0 = "pmc_5_0"
@@ -54,7 +54,7 @@ CONFIG_SCHEMA = cv.Schema(
{
cv.Optional(CONF_IP_ADDRESS): text_sensor.text_sensor_schema(
IPAddressOpenThreadInfo, entity_category=ENTITY_CATEGORY_DIAGNOSTIC
),
).extend(cv.polling_component_schema("1s")),
cv.Optional(CONF_ROLE): text_sensor.text_sensor_schema(
RoleOpenThreadInfo, entity_category=ENTITY_CATEGORY_DIAGNOSTIC
).extend(cv.polling_component_schema("1s")),