mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 21:40:16 +00:00
Use tuple literals (#33661)
This commit is contained in:
@@ -51,7 +51,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
class TcpSensor(Entity):
|
||||
"""Implementation of a TCP socket based sensor."""
|
||||
|
||||
required = tuple()
|
||||
required = ()
|
||||
|
||||
def __init__(self, hass, config):
|
||||
"""Set all the config values if they exist and get initial state."""
|
||||
|
||||
Reference in New Issue
Block a user