Rename Twitter to X (#102214)

This commit is contained in:
c0ffeeca7
2023-10-20 12:02:43 +02:00
committed by GitHub
parent 554ab94782
commit 4e63823970
4 changed files with 5 additions and 5 deletions
@@ -275,7 +275,7 @@
"name": "Block Twitch"
},
"block_twitter": {
"name": "Block Twitter"
"name": "Block X (formerly Twitter)"
},
"block_video_streaming": {
"name": "Block video streaming"
@@ -1,6 +1,6 @@
{
"domain": "twitter",
"name": "Twitter",
"name": "X",
"codeowners": [],
"documentation": "https://www.home-assistant.io/integrations/twitter",
"iot_class": "cloud_push",
+1 -1
View File
@@ -6028,7 +6028,7 @@
"iot_class": "cloud_polling"
},
"twitter": {
"name": "Twitter",
"name": "X",
"integration_type": "hub",
"config_flow": false,
"iot_class": "cloud_push"
+2 -2
View File
@@ -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"