From e63e8b6ffe627dce8ee7574c652af99267eb7376 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 7 Apr 2021 00:46:47 +0200 Subject: [PATCH] Rename hassio config entry title to Supervisor (#48748) --- homeassistant/components/hassio/config_flow.py | 2 +- tests/components/hassio/test_config_flow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/hassio/config_flow.py b/homeassistant/components/hassio/config_flow.py index 8b2c68d752d9..acc39f4cf91d 100644 --- a/homeassistant/components/hassio/config_flow.py +++ b/homeassistant/components/hassio/config_flow.py @@ -19,4 +19,4 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): # We only need one Hass.io config entry await self.async_set_unique_id(DOMAIN) self._abort_if_unique_id_configured() - return self.async_create_entry(title=DOMAIN.title(), data={}) + return self.async_create_entry(title="Supervisor", data={}) diff --git a/tests/components/hassio/test_config_flow.py b/tests/components/hassio/test_config_flow.py index c2d306183f08..2b4b8a88914f 100644 --- a/tests/components/hassio/test_config_flow.py +++ b/tests/components/hassio/test_config_flow.py @@ -18,7 +18,7 @@ async def test_config_flow(hass): DOMAIN, context={"source": "system"} ) assert result["type"] == "create_entry" - assert result["title"] == DOMAIN.title() + assert result["title"] == "Supervisor" assert result["data"] == {} await hass.async_block_till_done()