KNX: Fix Bug in Scenes

https://github.com/arendst/Tasmota/pull/8728#issuecomment-665515704

Thanks to @BBBits
This commit is contained in:
Adrian Scillato 2020-10-19 13:36:55 -03:00 committed by GitHub
parent fc988c8a92
commit 99dd6c8251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -566,7 +566,7 @@ void KNX_CB_Action(message_t const &msg, void *arg)
} else if (chan->type == KNX_SCENE) {
// VALUE
uint8_t tempvar = knx.data_to_1byte_uint(msg.data);
dtostrfd(tempvar,2,tempchar);
dtostrfd(tempvar,0,tempchar);
} else {
// VALUE
float tempvar = knx.data_to_2byte_float(msg.data);