mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 19:12:10 +01:00
Bug Fix Prog
* Added filter for prog frame #27 * Expanded link remote json buffer #25 * Display tilt position on edit shade screen
This commit is contained in:
parent
5a16977ea9
commit
1174bed558
5 changed files with 19 additions and 2 deletions
|
|
@ -1484,6 +1484,7 @@ class Somfy {
|
|||
let tilt = ico.parentElement.querySelector('i.icss-window-tilt');
|
||||
tilt.style.display = shade.tiltType !== 0 ? '' : 'none';
|
||||
tilt.setAttribute('data-tiltposition', shade.tiltPosition);
|
||||
tilt.setAttribute('data-shadeid', shade.shadeId);
|
||||
ico.style.setProperty('--shade-position', `${shade.position}%`);
|
||||
ico.style.setProperty('--tilt-position', `${shade.tiltPosition}%`);
|
||||
ico.setAttribute('data-shadeid', shade.shadeId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue