mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
fix too long line
This commit is contained in:
@@ -98,8 +98,9 @@ class AdsBinarySensor(BinarySensorDevice):
|
|||||||
|
|
||||||
def poll(self, now):
|
def poll(self, now):
|
||||||
try:
|
try:
|
||||||
self._state = self._ads_hub.read_by_name(self.adsvar,
|
self._state = self._ads_hub.read_by_name(
|
||||||
self._ads_hub.PLCTYPE_BOOL)
|
self.adsvar, self._ads_hub.PLCTYPE_BOOL
|
||||||
|
)
|
||||||
_LOGGER.debug('Polled value for bool variable {0}: {1}'
|
_LOGGER.debug('Polled value for bool variable {0}: {1}'
|
||||||
.format(self.adsvar, self._state))
|
.format(self.adsvar, self._state))
|
||||||
except self._ads_hub.ADSError as e:
|
except self._ads_hub.ADSError as e:
|
||||||
|
Reference in New Issue
Block a user