ESPHome 2026.11 makes `relation` a required option for every entry under `esphome: devices:`, and 2026.10 rejects that key. Both changes have to land together, so raise min_version to 2026.11.0 in the same commit. Use `relation: via` on all ten device declarations (BMS, sniffer, shunt, balancer, Deye stack, board, YamBMS instance, CAN and RS485 links). It is the value the API assumed before the key existed, so Home Assistant keeps showing the devices exactly as before. `child` would fit the board, the YamBMS instance and the inverter links better, but it is left for later: a Home Assistant release that reads the field without supporting `child` drops those devices and their entities. Docs: ESPHome 2026.11.0 in README and Installation_procedure (which still said 2025.11.0), Design_decisions no longer equates min_version with the flow_control requirement, and Coding_conventions documents the `relation: via` rule.
27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
YAML
# Updated : 2026.11.08
|
|
# Version : 1.1.2
|
|
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
|
|
|
# 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>.
|
|
|
|
esphome:
|
|
# The 'devices' block will merge into the main config's 'esphome' block.
|
|
# The ID and Name are uniquely defined by the vars passed in the main config.
|
|
devices:
|
|
- id: bms_${bms_id}
|
|
name: "${bms_name}"
|
|
relation: via
|