mirror of
https://github.com/home-assistant/core
synced 2024-08-31 05:57:13 +02:00
8 lines
212 B
Python
8 lines
212 B
Python
"""Life360 integration helpers."""
|
|
from life360 import Life360
|
|
|
|
|
|
def get_api(authorization=None):
|
|
"""Create Life360 api object."""
|
|
return Life360(timeout=3.05, max_retries=2, authorization=authorization)
|