zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Sonoff SNZB-02 round battery

Open leroyloren opened this issue 3 years ago • 3 comments

What happened?

Device battery status is expsosed with a decimal place.

What did you expect to happen?

For the value to be displayed as an integer

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.28.0edge

Adapter firmware version

20220219

Adapter

zzh!

Debug log

{ "battery": 68.5, "humidity": 48, "last_seen": "2022-10-27T11:17:41+02:00", "linkquality": 87, "temperature": 25.1, "voltage": 2900 }

value 68.5 => 69

leroyloren avatar Oct 27 '22 09:10 leroyloren

What is wrong with this?

Koenkk avatar Oct 27 '22 18:10 Koenkk

it's not bad, but it would be good to use a value without decimal places.

leroyloren avatar Oct 27 '22 20:10 leroyloren

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Nov 27 '22 00:11 github-actions[bot]