Make the Balboa temperature range select a config entity (#194802)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nathan Spencer
2026-11-27 09:21:59 +00:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 9045e064b6
commit 2b411f492d
2 changed files with 3 additions and 1 deletions
@@ -6,6 +6,7 @@ from pybalboa import SpaControl
from pybalboa.enums import LowHighRange
from homeassistant.components.select import SelectEntity
from homeassistant.const import EntityCategory
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
@@ -26,6 +27,7 @@ async def async_setup_entry(
class BalboaTempRangeSelectEntity(BalboaEntity, SelectEntity):
"""Representation of a Temperature Range select."""
_attr_entity_category = EntityCategory.CONFIG
_attr_translation_key = "temperature_range"
_attr_options = [
LowHighRange.LOW.name.lower(),
@@ -17,7 +17,7 @@
'device_id': <DeviceEntry identifiers=[('balboa', 'ef:ef:ef:c0:ff:ee')]>,
'disabled_by': None,
'domain': 'select',
'entity_category': None,
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'select.fakespa_temperature_range',
'has_entity_name': True,
'hidden_by': None,