mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 23:03:46 +01:00
fixes
This commit is contained in:
@@ -321,9 +321,9 @@ def analyze_all_components(
|
|||||||
if uses_local_file_references(component_dir):
|
if uses_local_file_references(component_dir):
|
||||||
non_groupable.add(component_name)
|
non_groupable.add(component_name)
|
||||||
|
|
||||||
# Check if component is a platform component (abstract base class)
|
# Check if component is a base bus component
|
||||||
# Platform components define abstract methods and cause linker errors
|
# These are platform implementations and must be tested separately
|
||||||
if is_platform_component(component_dir):
|
if component_name in BASE_BUS_COMPONENTS:
|
||||||
non_groupable.add(component_name)
|
non_groupable.add(component_name)
|
||||||
|
|
||||||
# Check if component uses !extend or !remove directives
|
# Check if component uses !extend or !remove directives
|
||||||
@@ -446,7 +446,7 @@ def main() -> None:
|
|||||||
components[comp] = platform_buses
|
components[comp] = platform_buses
|
||||||
if uses_local_file_references(comp_dir):
|
if uses_local_file_references(comp_dir):
|
||||||
non_groupable.add(comp)
|
non_groupable.add(comp)
|
||||||
if is_platform_component(comp_dir):
|
if comp in BASE_BUS_COMPONENTS:
|
||||||
non_groupable.add(comp)
|
non_groupable.add(comp)
|
||||||
if has_extend_remove:
|
if has_extend_remove:
|
||||||
non_groupable.add(comp)
|
non_groupable.add(comp)
|
||||||
|
Reference in New Issue
Block a user