mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Correct spelling of "Wi-Fi" in devolo_home_network (#106167)
* Use Wi-Fi in devolo_home_network * Recreate snapshots --------- Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
parent
18ac9a7ba5
commit
63c9aef71d
@ -50,7 +50,7 @@
|
||||
},
|
||||
"image": {
|
||||
"image_guest_wifi": {
|
||||
"name": "Guest Wifi credentials as QR code"
|
||||
"name": "Guest Wi-Fi credentials as QR code"
|
||||
}
|
||||
},
|
||||
"sensor": {
|
||||
@ -58,10 +58,10 @@
|
||||
"name": "Connected PLC devices"
|
||||
},
|
||||
"connected_wifi_clients": {
|
||||
"name": "Connected Wifi clients"
|
||||
"name": "Connected Wi-Fi clients"
|
||||
},
|
||||
"neighboring_wifi_networks": {
|
||||
"name": "Neighboring Wifi networks"
|
||||
"name": "Neighboring Wi-Fi networks"
|
||||
},
|
||||
"plc_rx_rate": {
|
||||
"name": "PLC downlink PHY rate"
|
||||
@ -72,7 +72,7 @@
|
||||
},
|
||||
"switch": {
|
||||
"switch_guest_wifi": {
|
||||
"name": "Enable guest Wifi"
|
||||
"name": "Enable guest Wi-Fi"
|
||||
},
|
||||
"switch_leds": {
|
||||
"name": "Enable LEDs"
|
||||
|
@ -1,47 +1,4 @@
|
||||
# serializer version: 1
|
||||
# name: test_button[identify_device_with_a_blinking_led-async_identify_device_start]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mock Title Identify device with a blinking LED',
|
||||
'icon': 'mdi:led-on',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.mock_title_identify_device_with_a_blinking_led',
|
||||
'last_changed': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_button[identify_device_with_a_blinking_led-async_identify_device_start].1
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.mock_title_identify_device_with_a_blinking_led',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': 'mdi:led-on',
|
||||
'original_name': 'Identify device with a blinking LED',
|
||||
'platform': 'devolo_home_network',
|
||||
'supported_features': 0,
|
||||
'translation_key': 'identify',
|
||||
'unique_id': '1234567890_identify',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_button[identify_device_with_a_blinking_led-plcnet-async_identify_device_start]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
@ -89,49 +46,6 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_button[restart_device-async_restart]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'restart',
|
||||
'friendly_name': 'Mock Title Restart device',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.mock_title_restart_device',
|
||||
'last_changed': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_button[restart_device-async_restart].1
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'button.mock_title_restart_device',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <ButtonDeviceClass.RESTART: 'restart'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Restart device',
|
||||
'platform': 'devolo_home_network',
|
||||
'supported_features': 0,
|
||||
'translation_key': 'restart',
|
||||
'unique_id': '1234567890_restart',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_button[restart_device-device-async_restart]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
@ -179,49 +93,6 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_button[start_plc_pairing-async_pair_device]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mock Title Start PLC pairing',
|
||||
'icon': 'mdi:plus-network-outline',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.mock_title_start_plc_pairing',
|
||||
'last_changed': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_button[start_plc_pairing-async_pair_device].1
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': None,
|
||||
'entity_id': 'button.mock_title_start_plc_pairing',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': 'mdi:plus-network-outline',
|
||||
'original_name': 'Start PLC pairing',
|
||||
'platform': 'devolo_home_network',
|
||||
'supported_features': 0,
|
||||
'translation_key': 'pairing',
|
||||
'unique_id': '1234567890_pairing',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_button[start_plc_pairing-plcnet-async_pair_device]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
@ -268,49 +139,6 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_button[start_wps-async_start_wps]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mock Title Start WPS',
|
||||
'icon': 'mdi:wifi-plus',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.mock_title_start_wps',
|
||||
'last_changed': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_button[start_wps-async_start_wps].1
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': None,
|
||||
'entity_id': 'button.mock_title_start_wps',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': 'mdi:wifi-plus',
|
||||
'original_name': 'Start WPS',
|
||||
'platform': 'devolo_home_network',
|
||||
'supported_features': 0,
|
||||
'translation_key': 'start_wps',
|
||||
'unique_id': '1234567890_start_wps',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_button[start_wps-device-async_start_wps]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
|
@ -11,7 +11,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'image',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'image.mock_title_guest_wifi_credentials_as_qr_code',
|
||||
'entity_id': 'image.mock_title_guest_wi_fi_credentials_as_qr_code',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@ -23,7 +23,7 @@
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Guest Wifi credentials as QR code',
|
||||
'original_name': 'Guest Wi-Fi credentials as QR code',
|
||||
'platform': 'devolo_home_network',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
|
@ -45,21 +45,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensor[connected_wifi_clients-async_get_wifi_connected_station-interval0]
|
||||
# name: test_sensor[connected_wi_fi_clients-async_get_wifi_connected_station-interval0]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mock Title Connected Wifi clients',
|
||||
'friendly_name': 'Mock Title Connected Wi-Fi clients',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.mock_title_connected_wifi_clients',
|
||||
'entity_id': 'sensor.mock_title_connected_wi_fi_clients',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '1',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensor[connected_wifi_clients-async_get_wifi_connected_station-interval0].1
|
||||
# name: test_sensor[connected_wi_fi_clients-async_get_wifi_connected_station-interval0].1
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
@ -73,7 +73,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.mock_title_connected_wifi_clients',
|
||||
'entity_id': 'sensor.mock_title_connected_wi_fi_clients',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@ -85,7 +85,7 @@
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Connected Wifi clients',
|
||||
'original_name': 'Connected Wi-Fi clients',
|
||||
'platform': 'devolo_home_network',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
@ -94,20 +94,20 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensor[neighboring_wifi_networks-async_get_wifi_neighbor_access_points-interval1]
|
||||
# name: test_sensor[neighboring_wi_fi_networks-async_get_wifi_neighbor_access_points-interval1]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mock Title Neighboring Wifi networks',
|
||||
'friendly_name': 'Mock Title Neighboring Wi-Fi networks',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.mock_title_neighboring_wifi_networks',
|
||||
'entity_id': 'sensor.mock_title_neighboring_wi_fi_networks',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '1',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensor[neighboring_wifi_networks-async_get_wifi_neighbor_access_points-interval1].1
|
||||
# name: test_sensor[neighboring_wi_fi_networks-async_get_wifi_neighbor_access_points-interval1].1
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
@ -119,7 +119,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'sensor.mock_title_neighboring_wifi_networks',
|
||||
'entity_id': 'sensor.mock_title_neighboring_wi_fi_networks',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@ -131,7 +131,7 @@
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Neighboring Wifi networks',
|
||||
'original_name': 'Neighboring Wi-Fi networks',
|
||||
'platform': 'devolo_home_network',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
|
@ -1,97 +1,11 @@
|
||||
# serializer version: 1
|
||||
# name: test_switches[enable_guest_wifi-async_get_wifi_guest_access-async_set_wifi_guest_access-interval0]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mock Title Enable guest Wifi',
|
||||
'icon': 'mdi:wifi',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.mock_title_enable_guest_wifi',
|
||||
'last_changed': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_switches[enable_guest_wifi-async_get_wifi_guest_access-async_set_wifi_guest_access-interval0].1
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'switch',
|
||||
'entity_category': None,
|
||||
'entity_id': 'switch.mock_title_enable_guest_wifi',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': 'mdi:wifi',
|
||||
'original_name': 'Enable guest Wifi',
|
||||
'platform': 'devolo_home_network',
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '1234567890_switch_guest_wifi',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_switches[enable_leds-async_get_led_setting-async_set_led_setting-interval1]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mock Title Enable LEDs',
|
||||
'icon': 'mdi:led-off',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.mock_title_enable_leds',
|
||||
'last_changed': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_switches[enable_leds-async_get_led_setting-async_set_led_setting-interval1].1
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'switch',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'switch.mock_title_enable_leds',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': 'mdi:led-off',
|
||||
'original_name': 'Enable LEDs',
|
||||
'platform': 'devolo_home_network',
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '1234567890_switch_leds',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_update_enable_guest_wifi
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mock Title Enable guest Wifi',
|
||||
'friendly_name': 'Mock Title Enable guest Wi-Fi',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.mock_title_enable_guest_wifi',
|
||||
'entity_id': 'switch.mock_title_enable_guest_wi_fi',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
@ -110,7 +24,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'switch',
|
||||
'entity_category': None,
|
||||
'entity_id': 'switch.mock_title_enable_guest_wifi',
|
||||
'entity_id': 'switch.mock_title_enable_guest_wi_fi',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@ -122,7 +36,7 @@
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Enable guest Wifi',
|
||||
'original_name': 'Enable guest Wi-Fi',
|
||||
'platform': 'devolo_home_network',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
|
@ -32,7 +32,7 @@ async def test_image_setup(hass: HomeAssistant) -> None:
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert (
|
||||
hass.states.get(f"{DOMAIN}.{device_name}_guest_wifi_credentials_as_qr_code")
|
||||
hass.states.get(f"{DOMAIN}.{device_name}_guest_wi_fi_credentials_as_qr_code")
|
||||
is not None
|
||||
)
|
||||
|
||||
@ -51,13 +51,13 @@ async def test_guest_wifi_qr(
|
||||
"""Test showing a QR code of the guest wifi credentials."""
|
||||
entry = configure_integration(hass)
|
||||
device_name = entry.title.replace(" ", "_").lower()
|
||||
state_key = f"{DOMAIN}.{device_name}_guest_wifi_credentials_as_qr_code"
|
||||
state_key = f"{DOMAIN}.{device_name}_guest_wi_fi_credentials_as_qr_code"
|
||||
|
||||
await hass.config_entries.async_setup(entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
state = hass.states.get(state_key)
|
||||
assert state.name == "Mock Title Guest Wifi credentials as QR code"
|
||||
assert state.name == "Mock Title Guest Wi-Fi credentials as QR code"
|
||||
assert state.state == dt_util.utcnow().isoformat()
|
||||
assert entity_registry.async_get(state_key) == snapshot
|
||||
|
||||
|
@ -32,9 +32,11 @@ async def test_sensor_setup(hass: HomeAssistant) -> None:
|
||||
await hass.config_entries.async_setup(entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert hass.states.get(f"{DOMAIN}.{device_name}_connected_wifi_clients") is not None
|
||||
assert (
|
||||
hass.states.get(f"{DOMAIN}.{device_name}_connected_wi_fi_clients") is not None
|
||||
)
|
||||
assert hass.states.get(f"{DOMAIN}.{device_name}_connected_plc_devices") is None
|
||||
assert hass.states.get(f"{DOMAIN}.{device_name}_neighboring_wifi_networks") is None
|
||||
assert hass.states.get(f"{DOMAIN}.{device_name}_neighboring_wi_fi_networks") is None
|
||||
assert (
|
||||
hass.states.get(
|
||||
f"{DOMAIN}.{device_name}_plc_downlink_phy_rate_{PLCNET.devices[1].user_device_name}"
|
||||
@ -67,12 +69,12 @@ async def test_sensor_setup(hass: HomeAssistant) -> None:
|
||||
("name", "get_method", "interval"),
|
||||
[
|
||||
(
|
||||
"connected_wifi_clients",
|
||||
"connected_wi_fi_clients",
|
||||
"async_get_wifi_connected_station",
|
||||
SHORT_UPDATE_INTERVAL,
|
||||
),
|
||||
(
|
||||
"neighboring_wifi_networks",
|
||||
"neighboring_wi_fi_networks",
|
||||
"async_get_wifi_neighbor_access_points",
|
||||
LONG_UPDATE_INTERVAL,
|
||||
),
|
||||
|
@ -41,7 +41,7 @@ async def test_switch_setup(hass: HomeAssistant) -> None:
|
||||
await hass.config_entries.async_setup(entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert hass.states.get(f"{PLATFORM}.{device_name}_enable_guest_wifi") is not None
|
||||
assert hass.states.get(f"{PLATFORM}.{device_name}_enable_guest_wi_fi") is not None
|
||||
assert hass.states.get(f"{PLATFORM}.{device_name}_enable_leds") is not None
|
||||
|
||||
await hass.config_entries.async_unload(entry.entry_id)
|
||||
@ -82,7 +82,7 @@ async def test_update_enable_guest_wifi(
|
||||
"""Test state change of a enable_guest_wifi switch device."""
|
||||
entry = configure_integration(hass)
|
||||
device_name = entry.title.replace(" ", "_").lower()
|
||||
state_key = f"{PLATFORM}.{device_name}_enable_guest_wifi"
|
||||
state_key = f"{PLATFORM}.{device_name}_enable_guest_wi_fi"
|
||||
|
||||
await hass.config_entries.async_setup(entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
@ -247,7 +247,7 @@ async def test_update_enable_leds(
|
||||
@pytest.mark.parametrize(
|
||||
("name", "get_method", "update_interval"),
|
||||
[
|
||||
("enable_guest_wifi", "async_get_wifi_guest_access", SHORT_UPDATE_INTERVAL),
|
||||
("enable_guest_wi_fi", "async_get_wifi_guest_access", SHORT_UPDATE_INTERVAL),
|
||||
("enable_leds", "async_get_led_setting", SHORT_UPDATE_INTERVAL),
|
||||
],
|
||||
)
|
||||
@ -284,7 +284,7 @@ async def test_device_failure(
|
||||
@pytest.mark.parametrize(
|
||||
("name", "set_method"),
|
||||
[
|
||||
("enable_guest_wifi", "async_set_wifi_guest_access"),
|
||||
("enable_guest_wi_fi", "async_set_wifi_guest_access"),
|
||||
("enable_leds", "async_set_led_setting"),
|
||||
],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user