1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 07:13:47 +01:00

improve grouping of no bus components, they can go into any group, saves another 20m

This commit is contained in:
J. Nick Koston
2025-10-09 17:03:51 -10:00
parent dc18dd164a
commit 9b9b4195f2
4 changed files with 47 additions and 4 deletions

4
script/analyze_component_buses.py Normal file → Executable file
View File

@@ -52,6 +52,10 @@ PACKAGE_DEPENDENCIES = {
# Components defining these directly cannot be grouped (they create unique bus IDs)
DIRECT_BUS_TYPES = ("i2c", "spi", "uart", "modbus")
# Signature for components with no bus requirements
# These components can be merged with any other group
NO_BUSES_SIGNATURE = "no_buses"
# Base bus components - these ARE the bus implementations and should not
# be flagged as needing migration since they are the platform/base components
BASE_BUS_COMPONENTS = {