Alexa report in integers

A question about Hubitat / Alexa. I have a whole bunch of Aqara temperature sensors that work great, but want Alexa to report in integers and skip decimals, is it possible to fix?
I do not find any settings for it in device settings in the driver for Aqara ...

My solution would be.


And to share the virtual sensor to Alexa instead.

2 Likes

You could modify the Aqara custom driver to remove decimal places before it creates events.

2 Likes

Thanks for a simple solution, it should work.

Uuuh, that would be perfect, just start looking in the code where I change it! Will check immediately! Thanks.

1 Like