mirror of
https://github.com/esphome/esphome.git
synced 2024-12-12 14:57:34 +01:00
DALY Modbus BMS: linting
This commit is contained in:
parent
a93a48879a
commit
a9343d35f1
@ -19,9 +19,15 @@ CONFIG_SCHEMA = cv.All(
|
|||||||
cv.Schema(
|
cv.Schema(
|
||||||
{
|
{
|
||||||
cv.GenerateID(CONF_DALY_HKMS_BMS_ID): cv.use_id(DalyHkmsBmsComponent),
|
cv.GenerateID(CONF_DALY_HKMS_BMS_ID): cv.use_id(DalyHkmsBmsComponent),
|
||||||
cv.Optional(CONF_CHARGING_MOS_ENABLED): binary_sensor.binary_sensor_schema(),
|
cv.Optional(
|
||||||
cv.Optional(CONF_DISCHARGING_MOS_ENABLED): binary_sensor.binary_sensor_schema(),
|
CONF_CHARGING_MOS_ENABLED
|
||||||
cv.Optional(CONF_PRECHARGING_MOS_ENABLED): binary_sensor.binary_sensor_schema(),
|
): binary_sensor.binary_sensor_schema(),
|
||||||
|
cv.Optional(
|
||||||
|
CONF_DISCHARGING_MOS_ENABLED
|
||||||
|
): binary_sensor.binary_sensor_schema(),
|
||||||
|
cv.Optional(
|
||||||
|
CONF_PRECHARGING_MOS_ENABLED
|
||||||
|
): binary_sensor.binary_sensor_schema(),
|
||||||
cv.Optional(CONF_BALANCING_ACTIVE): binary_sensor.binary_sensor_schema(),
|
cv.Optional(CONF_BALANCING_ACTIVE): binary_sensor.binary_sensor_schema(),
|
||||||
}
|
}
|
||||||
).extend(cv.COMPONENT_SCHEMA)
|
).extend(cv.COMPONENT_SCHEMA)
|
||||||
|
Loading…
Reference in New Issue
Block a user