Number.SetValue() should accept a float instead of int

This commit is contained in:
Lubos Dolezel
2023-02-21 18:33:25 +01:00
parent 8bee96aeff
commit 0ec8f2ff4e

View File

@@ -16,7 +16,7 @@ type Number struct {
/* Public API */
func (ib Number) SetValue(entityId string, value int) {
func (ib Number) SetValue(entityId string, value float32) {
req := NewBaseServiceRequest(entityId)
req.Domain = "number"
req.Service = "set_value"