Changelog

Next 2.x feature release

  • [Feature]: Caching support

  • [Feature]: Multi-language support

  • [Support]: Output format CSV in output_format will be dropped eventually. That means, that you won’t be able to select csv as output type in future versions and that the properties csv_delimiter and csv_linebreak will be removed.

  • [Support]: Support for settings values

2.0.0 2022-01-16

  • [Feature]: Added options log_info and log_debug to vcontrold.vcontrold to more clearly avoid outputs from the module. Both arguments default to False, so no output is generated by default. If you want to see some outputs, enable them respectively.

  • [Feature]: Added property switch_as_bool to return the current value either as bool or str, from commands with unit switch.

  • [Feature]: Added property exclude_timers to exclude execution time timers from the output.

  • [Feature]: Added property use_fahrenheit to convert the returned temperature values from Celsius to Fahrenheit.

  • [Bug]: Fixed sanitization of temperature values, when Grad Celsius were returned from vcontrold.

  • [Support]: BREAKING: Re-structured the return data. The unit of measurement is not separated from the value itself. Therefore, the value is not returned in the correct data type, instead of always str. Number value will now be returned as float. The return value may even be of type dict, i.e. for time tables.

  • [Support]: BREAKING: Removed method set_group(). Is now groups. groups supports the groups argument now either as str or list. In both cases a list will be returned. By supporting list values, it’s possible to filter commands by multiple groups now, instead of a single group as with set_group() previously.

  • [Support]: BREAKING: Removed method set_output_format(). Is now output_format.

  • [Support]: BREAKING: Removed method get_device_protocol(). Is now device_protocol.

  • [Support]: BREAKING: Removed method get_device_id(). Is now device_id.

  • [Support]: BREAKING: Removed method get_device_model(). Is now device_model.

  • [Support]: Rewritten documentation and advanced pydoc strings

1.0.0 2022-01-11

  • [Feature]: Initial release of pyvcontrold-net