Files
esphome-yambms/packages/base/device_modbus.yaml
T
2024-12-23 22:42:35 +01:00

32 lines
1.0 KiB
YAML

# Updated : 2024.12.23
# Version : 1.1.1
# 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:
min_version: 2024.11.3
uart:
- id: !extend ${modbus_uart_id}
baud_rate: ${modbus_baud_rate}
modbus:
- uart_id: ${modbus_uart_id}
id: modbus_${modbus_role}
role: ${modbus_role}
send_wait_time: ${modbus_send_wait_time}