diff --git a/custom_components/balboa/climate.py b/custom_components/balboa/climate.py index 497282e..bc05d1a 100644 --- a/custom_components/balboa/climate.py +++ b/custom_components/balboa/climate.py @@ -46,9 +46,7 @@ async def async_setup_entry(hass, entry, async_add_entities): """Set up the spa climate device.""" spa = hass.data[BALBOA_DOMAIN][entry.entry_id] name = entry.data[CONF_NAME] - devs = [] - devs.append(BalboaSpaClimate(hass, spa, name)) - async_add_entities(devs, True) + async_add_entities([BalboaSpaClimate(hass, spa, name)], True) class BalboaSpaClimate(BalboaEntity, ClimateDevice): @@ -110,7 +108,7 @@ def fan_mode(self) -> str: @property def name(self): """Return the name of the spa.""" - return f"{self._name}" + return self._name @property def precision(self): diff --git a/custom_components/balboa/strings.json b/custom_components/balboa/strings.json index 369c3d5..b9f8540 100644 --- a/custom_components/balboa/strings.json +++ b/custom_components/balboa/strings.json @@ -3,7 +3,7 @@ "title": "Balboa Spa", "step": { "user": { - "title": "Connect to the device", + "title": "Connect to the Balboa WiFi device", "data": { "host": "Host", "name": "Name" @@ -12,7 +12,6 @@ }, "error": { "cannot_connect": "Failed to connect, please try again", - "invalid_auth": "Invalid authentication", "unknown": "Unexpected error" }, "abort": {