mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Use tuple literals (#33661)
This commit is contained in:
@@ -364,7 +364,7 @@ class Group(Entity):
|
||||
if entity_ids:
|
||||
self.tracking = tuple(ent_id.lower() for ent_id in entity_ids)
|
||||
else:
|
||||
self.tracking = tuple()
|
||||
self.tracking = ()
|
||||
self.group_on = None
|
||||
self.group_off = None
|
||||
self.user_defined = user_defined
|
||||
|
@@ -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