Files
esphome-yambms/packages/bms/bms_base.yaml
T
2024-10-07 18:25:33 +02:00

44 lines
1.6 KiB
YAML

# Updated : 2024.08.08
# Version : 1.2.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>.
sensor:
# +--------------------------------------+
# | Total Daily Energy |
# +--------------------------------------+
- platform: total_daily_energy
name: "${name} ${bms_name} Daily Charging Energy"
power_id: bms${bms_id}_charging_power
unit_of_measurement: 'kWh'
state_class: total_increasing
device_class: energy
accuracy_decimals: 3
filters:
# Multiplication factor from W to kW is 0.001
- multiply: 0.001
- platform: total_daily_energy
name: "${name} ${bms_name} Daily Discharging Energy"
power_id: bms${bms_id}_discharging_power
unit_of_measurement: 'kWh'
state_class: total_increasing
device_class: energy
accuracy_decimals: 3
filters:
# Multiplication factor from W to kW is 0.001
- multiply: 0.001