mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Rename Twitter to X (#102214)
This commit is contained in:
parent
554ab94782
commit
4e63823970
@ -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",
|
||||
|
@ -6028,7 +6028,7 @@
|
||||
"iot_class": "cloud_polling"
|
||||
},
|
||||
"twitter": {
|
||||
"name": "Twitter",
|
||||
"name": "X",
|
||||
"integration_type": "hub",
|
||||
"config_flow": false,
|
||||
"iot_class": "cloud_push"
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user