openhab / openhab-google-assistant

openHAB Google Assistant: Actions on Google for openHAB
Eclipse Public License 2.0
176 stars 86 forks source link

Round numbers to integers where required #425

Closed michikrug closed 1 year ago

michikrug commented 1 year ago

With this PR we now round numbers to integers where required by the Google Home API. So far we just assumed that openHAB does provide integer values for, e.g. brightnesses, volumes or color temperatures. This seems to not always be the case as stated in #413.

This is now adjusted and state values are rounded.


Fixes #413