mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Somfy: improve status
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
8ed5346992
commit
17102a1a7d
2 changed files with 7 additions and 8 deletions
|
|
@ -177,7 +177,7 @@ void somfy_frame_t::decodeFrame(byte* frame) {
|
|||
break;
|
||||
case somfy_commands::Status:
|
||||
this->rollingCode = 0;
|
||||
this->sun = !!(decoded[3] & STATUS_SUN);
|
||||
this->status = decoded[3];
|
||||
break;
|
||||
case somfy_commands::UnknownC:
|
||||
case somfy_commands::UnknownD:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue