lywsd03mmc
lywsd03mmc copied to clipboard
data.battery or client.battery?
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.