Skip to content

2.0.0

Compare
Choose a tag to compare
@syssi syssi released this 28 Feb 09:36
· 53 commits to main since this release
08d8e99

This release introduces a breaking change because the ant_modbus component was removed to simplify the strucutre of the YAML configuration. To migrate from version 1 to version 2 to have to update your YAML from:

uart:
  id: uart0
  baud_rate: 19200
  rx_buffer_size: 384
  tx_pin: ${tx_pin}
  rx_pin: ${rx_pin}

ant_modbus:
  id: modbus0
  uart_id: uart0

ant_bms:
  id: bms0
  ant_modbus_id: modbus0
  password: "${password}"
  update_interval: 10s
  supports_new_commands: true

to

uart:
  id: uart0
  baud_rate: 19200
  rx_buffer_size: 384
  tx_pin: ${tx_pin}
  rx_pin: ${rx_pin}

ant_bms:
  id: bms0
  uart_id: uart0
  password: "${password}"
  update_interval: 10s
  supports_new_commands: true