lywsd03mmc icon indicating copy to clipboard operation
lywsd03mmc copied to clipboard

data.battery or client.battery?

Open Mausy5043 opened this issue 2 years ago • 0 comments

https://github.com/uduncanu/lywsd03mmc/blob/97a8d4df960c8a0c3dc9728c632e2c9921b0035b/scripts/lywsd03mmc#L18

Is there a reason why I shouldn't use data.battery here instead of client.battery?

I find that using data.battery is faster and as far as I can tell it returns the same numbers.

Mausy5043 avatar Mar 19 '22 17:03 Mausy5043