Rename tuya fixture file to match category

This commit is contained in:
epenet 2025-07-16 14:02:42 +00:00
parent 3449863eee
commit b4aac3d79d
5 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ from homeassistant.core import HomeAssistant
from tests.common import MockConfigEntry from tests.common import MockConfigEntry
DEVICE_MOCKS = { DEVICE_MOCKS = {
"am43_corded_motor_zigbee_cover": [ "cl_am43_corded_motor_zigbee_cover": [
# https://github.com/home-assistant/core/issues/71242 # https://github.com/home-assistant/core/issues/71242
Platform.SELECT, Platform.SELECT,
Platform.COVER, Platform.COVER,

View File

@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[am43_corded_motor_zigbee_cover][cover.kitchen_blinds_curtain-entry] # name: test_platform_setup_and_discovery[cl_am43_corded_motor_zigbee_cover][cover.kitchen_blinds_curtain-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@ -34,7 +34,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[am43_corded_motor_zigbee_cover][cover.kitchen_blinds_curtain-state] # name: test_platform_setup_and_discovery[cl_am43_corded_motor_zigbee_cover][cover.kitchen_blinds_curtain-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'current_position': 48, 'current_position': 48,

View File

@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[am43_corded_motor_zigbee_cover][select.kitchen_blinds_motor_mode-entry] # name: test_platform_setup_and_discovery[cl_am43_corded_motor_zigbee_cover][select.kitchen_blinds_motor_mode-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@ -39,7 +39,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[am43_corded_motor_zigbee_cover][select.kitchen_blinds_motor_mode-state] # name: test_platform_setup_and_discovery[cl_am43_corded_motor_zigbee_cover][select.kitchen_blinds_motor_mode-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen Blinds Motor mode', 'friendly_name': 'Kitchen Blinds Motor mode',

View File

@ -59,7 +59,7 @@ async def test_platform_setup_no_discovery(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["am43_corded_motor_zigbee_cover"], ["cl_am43_corded_motor_zigbee_cover"],
) )
@pytest.mark.parametrize( @pytest.mark.parametrize(
("percent_control", "percent_state"), ("percent_control", "percent_state"),