Implement fetching brightness from api

This commit is contained in:
2024-12-29 00:29:09 +01:00
parent 32e3c73098
commit 8cebc36ed9
5 changed files with 44 additions and 33 deletions

View File

@@ -5,3 +5,11 @@
export function Close() {
return window['go']['main']['App']['Close']();
}
export function GetLamps() {
return window['go']['main']['App']['GetLamps']();
}
export function SetLampBrightness(arg1, arg2) {
return window['go']['main']['App']['SetLampBrightness'](arg1, arg2);
}