Skip to content

Commit

Permalink
fix setBoilerTemperatureCommand passing of the boiler temperature par…
Browse files Browse the repository at this point in the history
…ameter
  • Loading branch information
Radoslav Glushkov committed Jan 14, 2019
1 parent f9494d1 commit 332eb3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npbc_communication.py
Expand Up @@ -132,7 +132,7 @@ def __init__(self, boilerTemperature):
self.__boilerTemperature = boilerTemperature

def getRequestData(self):
return super(setBoilerTemperatureCommand, self).getRequestData(bytearray(self.__boilerTemperature))
return super(setBoilerTemperatureCommand, self).getRequestData(bytearray([self.__boilerTemperature]))

def processResponseData(self, response):
try:
Expand Down

0 comments on commit 332eb3a

Please sign in to comment.