Skip to content

Commit

Permalink
V3 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flip555 committed Sep 19, 2023
1 parent 59a8117 commit 2e9a951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bms_connector/bms/seplos/v3/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def async_update_data():
#test_responses = ['0004241499fe6338d63a98005d03ca03e700070cdf0b940ce50cda0b940b9400000096009603e84f7c', '0004240cdd0ce50cdf0cdd0ce40cdc0cda0ce10ce20ce20ce40cde0ce10cde0cdd0ce20b940b94e3e4']

# Loop for multiple battery packs should start here using TELEMETRY_COMMANDS from const.py 0-15 as COMMAND_1
telemetry_data_str = test_responses #await hass.async_add_executor_job(send_serial_command, commands, port)
#telemetry_data_str = test_responses #await hass.async_add_executor_job(send_serial_command, commands, port)
# Loop for multiple battery packs should start here using TELEMETRY_COMMANDS from const.py 0-15 as COMMAND_1
telemetry_data_str = await hass.async_add_executor_job(send_serial_command, commands, port)
battery_address, telemetry, alarms, system_details, protection_settings = extract_data_from_message(telemetry_data_str, True, True, True, config_battery_address)
Expand Down

0 comments on commit 2e9a951

Please sign in to comment.