File tree Expand file tree Collapse file tree
custom_components/novastar_h Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ async def async_get_brightness(
325325 ) -> int :
326326 """Get current screen brightness (0-100)."""
327327 data = await self ._async_request (
328- "screen/readBrightness " ,
328+ "screen/readDetail " ,
329329 {"screenId" : screen_id , "deviceId" : device_id },
330330 )
331331 if data and isinstance (data , dict ):
@@ -372,7 +372,7 @@ async def async_set_freeze(
372372 device_id: Device ID
373373 """
374374 data = await self ._async_request (
375- "screen/freeze " ,
375+ "screen/writeFreeze " ,
376376 {
377377 "type" : 1 if freeze else 0 , # 1: Freeze, 0: Unfreeze
378378 "screenId" : screen_id ,
Original file line number Diff line number Diff line change 2121 }
2222 ],
2323 "zeroconf" : [" _novastar._tcp.local." ],
24- "version" : " 0.2.5 "
24+ "version" : " 0.2.6 "
2525}
You can’t perform that action at this time.
0 commit comments