diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-07-02 15:28:29 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-07-02 15:28:29 +0300 |
commit | 4848650e3e3e750d0ddeedabfb1d3e23f88e6a6b (patch) | |
tree | 5701bad790433be09059ebe03659cd4b89ccb6cf /src/polaris_kettle_bot.py | |
parent | 02607d7eb3b9248ba82c19ee0f274f210a9df10b (diff) |
polaris_kettle_bot: make READ_TIMEOUT configurable
Diffstat (limited to 'src/polaris_kettle_bot.py')
-rwxr-xr-x | src/polaris_kettle_bot.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/polaris_kettle_bot.py b/src/polaris_kettle_bot.py index 3ce9688..c031cb1 100755 --- a/src/polaris_kettle_bot.py +++ b/src/polaris_kettle_bot.py @@ -163,7 +163,8 @@ class KettleController(threading.Thread, self._logger = logging.getLogger(self.__class__.__name__) self.kettle = Kettle(mac=config['kettle']['mac'], - device_token=config['kettle']['token']) + device_token=config['kettle']['token'], + read_timeout=config['kettle']['read_timeout']) self.kettle_reconnect() # info |