mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-30 06:06:36 +00:00
KNX: Fix Bug in Scenes
https://github.com/arendst/Tasmota/pull/8728#issuecomment-665515704 Thanks to @BBBits
This commit is contained in:
parent
fc988c8a92
commit
99dd6c8251
@ -566,7 +566,7 @@ void KNX_CB_Action(message_t const &msg, void *arg)
|
|||||||
} else if (chan->type == KNX_SCENE) {
|
} else if (chan->type == KNX_SCENE) {
|
||||||
// VALUE
|
// VALUE
|
||||||
uint8_t tempvar = knx.data_to_1byte_uint(msg.data);
|
uint8_t tempvar = knx.data_to_1byte_uint(msg.data);
|
||||||
dtostrfd(tempvar,2,tempchar);
|
dtostrfd(tempvar,0,tempchar);
|
||||||
} else {
|
} else {
|
||||||
// VALUE
|
// VALUE
|
||||||
float tempvar = knx.data_to_2byte_float(msg.data);
|
float tempvar = knx.data_to_2byte_float(msg.data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user