mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
fix pylint issue
This commit is contained in:
parent
cb35363e10
commit
cdb1677b59
@ -131,6 +131,7 @@ class SystemMonitorSensor(Entity):
|
||||
def unit_of_measurement(self):
|
||||
return self._unit_of_measurement
|
||||
|
||||
# pylint: disable=too-many-branches
|
||||
def update(self):
|
||||
if self.type == 'disk_use_percent':
|
||||
self._state = psutil.disk_usage(self.argument).percent
|
||||
|
Loading…
x
Reference in New Issue
Block a user