mirror of
https://github.com/home-assistant/core
synced 2024-08-28 03:36:46 +02:00
9 lines
198 B
Python
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}"
|