ioBroker.wolf
ioBroker.wolf copied to clipboard
boolean values
In addition I found some inconsistencies regarding "boolean" values.
while creating the objects for Iobroker I have added "DPT_Bool" to the "if" statement
if (adapter.config.bool_status && ['DPT_Switch', 'DPT_Enable', 'DPT_OpenClose', 'DPT_Bool'].includes(data.type)) { data.commonType = 'boolean';
corrected some "'true'" and "'false'" values to "true" and "false" (without inverted commas) to be "real" boolen values..
May be @Apollon77 you can add some "verifying code" if someone changed the "status als Boolean" in the Wolf adapter instances view after all objects have been created in Iobroker already. Otherwise you will get tons of "Infos" of incorrent Type Informations in the log file...