1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
ha-core/homeassistant/components/smarttub/helpers.py
Matt Zimmerman 58499946ed
Add SmartTub integration (#37775)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-16 19:37:56 -10:00

9 lines
198 B
Python

"""Helper functions for SmartTub integration."""
import smarttub
def get_spa_name(spa: smarttub.Spa) -> str:
"""Return the name of the specified spa."""
return f"{spa.brand} {spa.model}"