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:
4
script/analyze_component_buses.py
Normal file → Executable file
4
script/analyze_component_buses.py
Normal file → Executable 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 = {
|
||||
|
Reference in New Issue
Block a user