1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Use Python3 new super syntax sugar (#26890)

This commit is contained in:
Franck Nijhof
2019-09-25 00:38:20 +02:00
committed by Paulus Schoutsen
parent 6fdff9ffab
commit 9c9c921922
26 changed files with 30 additions and 30 deletions

View File

@@ -81,7 +81,7 @@ class TcpSensor(Entity):
name = self._config[CONF_NAME]
if name is not None:
return name
return super(TcpSensor, self).name
return super().name
@property
def state(self):