This is a major new version and you will need to migrate your configuration file to run it.
TL;DR: just use the configuration upgrade tool to get the migration done.
Configuration files are now versioned
The top-level config_version key says which version of the configuration format a file is written for.
Each optolink2mqtt release now accepts exactly one version and refuses to start (exit code 2) with any other, explaining why. Files without config_version are version 1.
The version matches the major version of optolink2mqtt: 1.x releases use version 1, 2.x releases version 2. Version 2 moved the keys of each register entry into the register and processing sections, renaming register to address, and requires a type for scaled and enumerated registers.
Major new features in v2
v2 added the "type" field to the register definition which allows you to choose between int/enum/float (already supported in v1) and the newly-added "datetime_bcd" which allows you to read/write registers like e.g. the current time or the vacation start/end dates. More in the README
v2 added also support for:
To make register "discovery" easier a "read-register" mode has been added, see details in README
What's Changed in Details
- Add a config_version key and refuse configuration files of other versions by @f18m in #101
- Add a register "type" and decode Viessmann DateTimeBCD registers by @f18m in #100
- Decode multiplexed registers with encoding, formatter and same_read_as by @f18m in #102
- Group register entry keys into "register" and "processing" sections by @f18m in #103
Full Changelog: 1.3.4...2.0.0