mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
fix too long line
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user