Each package now imports its UART from its *_uart_id var and keeps its own baud rate key. WK2168 channels work the same way, uart_flow_control_pin replaces the flow control include, and min_version moves to 2026.10.0. Breaking change.
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
# Updated : 2026.11.05
|
|
# Version : 1.1.4
|
|
# GitHub : https://github.com/GHswitt/esphome-basen
|
|
|
|
# YamBMS ( Yet another multi-BMS Merging Solution )
|
|
|
|
# This YAML is free software: you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation, either version 3
|
|
# of the License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
# See the GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/gpl.html>.
|
|
|
|
# +--------------------------------------+
|
|
# | Component settings |
|
|
# +--------------------------------------+
|
|
|
|
external_components:
|
|
- source: github://GHswitt/esphome-basen@main
|
|
refresh: 0s
|
|
|
|
packages:
|
|
basen_uart: !include
|
|
file: ../board/board_options_itf_${basen_uart_id}.yaml
|
|
vars:
|
|
uart_baud_rate: ${basen_uart_baud_rate}
|
|
|
|
basen_controller:
|
|
- uart_id: ${basen_uart_id}
|
|
id: ${basen_controller_id}
|