mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Rename Twitter to X (#102214)
This commit is contained in:
parent
554ab94782
commit
4e63823970
@ -275,7 +275,7 @@
|
|||||||
"name": "Block Twitch"
|
"name": "Block Twitch"
|
||||||
},
|
},
|
||||||
"block_twitter": {
|
"block_twitter": {
|
||||||
"name": "Block Twitter"
|
"name": "Block X (formerly Twitter)"
|
||||||
},
|
},
|
||||||
"block_video_streaming": {
|
"block_video_streaming": {
|
||||||
"name": "Block video streaming"
|
"name": "Block video streaming"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"domain": "twitter",
|
"domain": "twitter",
|
||||||
"name": "Twitter",
|
"name": "X",
|
||||||
"codeowners": [],
|
"codeowners": [],
|
||||||
"documentation": "https://www.home-assistant.io/integrations/twitter",
|
"documentation": "https://www.home-assistant.io/integrations/twitter",
|
||||||
"iot_class": "cloud_push",
|
"iot_class": "cloud_push",
|
||||||
|
@ -6028,7 +6028,7 @@
|
|||||||
"iot_class": "cloud_polling"
|
"iot_class": "cloud_polling"
|
||||||
},
|
},
|
||||||
"twitter": {
|
"twitter": {
|
||||||
"name": "Twitter",
|
"name": "X",
|
||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
"config_flow": false,
|
"config_flow": false,
|
||||||
"iot_class": "cloud_push"
|
"iot_class": "cloud_push"
|
||||||
|
@ -513,11 +513,11 @@ async def test_switch(
|
|||||||
assert entry
|
assert entry
|
||||||
assert entry.unique_id == "xyz12_block_twitch"
|
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
|
||||||
assert state.state == STATE_ON
|
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
|
||||||
assert entry.unique_id == "xyz12_block_twitter"
|
assert entry.unique_id == "xyz12_block_twitter"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user