UniversalDevicesInc / Polyglot

Polyglot Open Source
MIT License
24 stars 2 forks source link

Passing int instead of float to ISY #51

Closed Einstein42 closed 8 years ago

Einstein42 commented 8 years ago

Received command: kwargs: {'cmd': u'OutBack_Load_Grid_Transfer_Threshold', 'value': 15.0, 'uom': 30}

Set command self.set_driver('OutBack_Load_Grid_Transfer_Threshold', 15.0)

Passed to ISY GET /ns/MXVlt/nodes/n004_ax1430f0100397/cmd/OutBack_Load_Grid_Transfer_Threshold/15/30

jimboca commented 8 years ago

Does this happen even if you pass 15.1 ? I pass floats in my polyglot with no issue? Or is it because of the uom?

Einstein42 commented 8 years ago

No. Any float works fine. Just anything .0

I have opened a ticket with ISY as well as this could be their issue.

jimboca commented 8 years ago

Ok, sounds good.

Einstein42 commented 8 years ago

This is fixed in 5.0.4+ of ISY, closing as non-polyglot issue.