fix too long line

This commit is contained in:
Stefan Lehmann
2017-10-25 20:04:46 +02:00
parent 14c0552e89
commit 94bc9b3ca8

View File

@@ -98,8 +98,9 @@ class AdsBinarySensor(BinarySensorDevice):
def poll(self, now):
try:
self._state = self._ads_hub.read_by_name(self.adsvar,
self._ads_hub.PLCTYPE_BOOL)
self._state = self._ads_hub.read_by_name(
self.adsvar, self._ads_hub.PLCTYPE_BOOL
)
_LOGGER.debug('Polled value for bool variable {0}: {1}'
.format(self.adsvar, self._state))
except self._ads_hub.ADSError as e: