mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Use tuple literals (#33661)
This commit is contained in:
parent
0d95eff21d
commit
fddaea797e
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user