Changelog¶
Next 2.x feature release
[Feature]: Caching support
[Feature]: Multi-language support
[Support]: Output format CSV in
output_formatwill be dropped eventually. That means, that you won’t be able to selectcsvas output type in future versions and that the propertiescsv_delimiterandcsv_linebreakwill be removed.[Support]: Support for settings values
2.0.0 2022-01-16
[Feature]: Added options
log_infoandlog_debugtovcontrold.vcontroldto more clearly avoid outputs from the module. Both arguments default toFalse, so no output is generated by default. If you want to see some outputs, enable them respectively.[Feature]: Added property
switch_as_boolto return the current value either asboolorstr, from commands with unitswitch.[Feature]: Added property
exclude_timersto exclude execution time timers from the output.[Feature]: Added property
use_fahrenheitto convert the returned temperature values from Celsius to Fahrenheit.[Bug]: Fixed sanitization of temperature values, when
Grad Celsiuswere 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 asfloat. The return value may even be of typedict, i.e. for time tables.[Support]: BREAKING: Removed method
set_group(). Is nowgroups.groupssupports thegroupsargument now either asstrorlist. In both cases alistwill be returned. By supportinglistvalues, it’s possible to filter commands by multiple groups now, instead of a single group as withset_group()previously.[Support]: BREAKING: Removed method
set_output_format(). Is nowoutput_format.[Support]: BREAKING: Removed method
get_device_protocol(). Is nowdevice_protocol.[Support]: BREAKING: Removed method
get_device_id(). Is nowdevice_id.[Support]: BREAKING: Removed method
get_device_model(). Is nowdevice_model.[Support]: Rewritten documentation and advanced pydoc strings
1.0.0 2022-01-11
[Feature]: Initial release of pyvcontrold-net