ha-tasmota-update decisions: why the code looks like this