From 4e638239705b54b83ffd56baf10442cccb543806 Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:02:43 +0200 Subject: [PATCH] Rename Twitter to X (#102214) --- homeassistant/components/nextdns/strings.json | 2 +- homeassistant/components/twitter/manifest.json | 2 +- homeassistant/generated/integrations.json | 2 +- tests/components/nextdns/test_switch.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/nextdns/strings.json b/homeassistant/components/nextdns/strings.json index 2f15c4cd8e5..e0a37aad03b 100644 --- a/homeassistant/components/nextdns/strings.json +++ b/homeassistant/components/nextdns/strings.json @@ -275,7 +275,7 @@ "name": "Block Twitch" }, "block_twitter": { - "name": "Block Twitter" + "name": "Block X (formerly Twitter)" }, "block_video_streaming": { "name": "Block video streaming" diff --git a/homeassistant/components/twitter/manifest.json b/homeassistant/components/twitter/manifest.json index be4af8d5ae6..44e8712b029 100644 --- a/homeassistant/components/twitter/manifest.json +++ b/homeassistant/components/twitter/manifest.json @@ -1,6 +1,6 @@ { "domain": "twitter", - "name": "Twitter", + "name": "X", "codeowners": [], "documentation": "https://www.home-assistant.io/integrations/twitter", "iot_class": "cloud_push", diff --git a/homeassistant/generated/integrations.json b/homeassistant/generated/integrations.json index ba426786dff..fb42c7f0e8e 100644 --- a/homeassistant/generated/integrations.json +++ b/homeassistant/generated/integrations.json @@ -6028,7 +6028,7 @@ "iot_class": "cloud_polling" }, "twitter": { - "name": "Twitter", + "name": "X", "integration_type": "hub", "config_flow": false, "iot_class": "cloud_push" diff --git a/tests/components/nextdns/test_switch.py b/tests/components/nextdns/test_switch.py index 33a3f804902..9a360a24b63 100644 --- a/tests/components/nextdns/test_switch.py +++ b/tests/components/nextdns/test_switch.py @@ -513,11 +513,11 @@ async def test_switch( assert entry assert entry.unique_id == "xyz12_block_twitch" - state = hass.states.get("switch.fake_profile_block_twitter") + state = hass.states.get("switch.fake_profile_block_x_formerly_twitter") assert state assert state.state == STATE_ON - entry = registry.async_get("switch.fake_profile_block_twitter") + entry = registry.async_get("switch.fake_profile_block_x_formerly_twitter") assert entry assert entry.unique_id == "xyz12_block_twitter"