Home Assistant Unofficial Reference
2024.12.1
helpers.py
Go to the documentation of this file.
1
"""Helper functions for SmartTub integration."""
2
3
import
smarttub
4
5
6
def
get_spa_name
(spa: smarttub.Spa) -> str:
7
"""Return the name of the specified spa."""
8
return
f
"{spa.brand} {spa.model}"
homeassistant.components.smarttub.helpers.get_spa_name
str get_spa_name(smarttub.Spa spa)
Definition:
helpers.py:6
core
homeassistant
components
smarttub
helpers.py
Generated by
1.9.1