mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Remove rfxtrx signal repetition (#67675)
This commit is contained in:
@@ -94,7 +94,7 @@ def _get_expected_actions(data):
|
||||
)
|
||||
async def test_get_actions(hass, device_reg: DeviceRegistry, device, expected):
|
||||
"""Test we get the expected actions from a rfxtrx."""
|
||||
await setup_entry(hass, {device.code: {"signal_repetitions": 1}})
|
||||
await setup_entry(hass, {device.code: {}})
|
||||
|
||||
device_entry = device_reg.async_get_device(device.device_identifiers, set())
|
||||
assert device_entry
|
||||
@@ -137,7 +137,7 @@ async def test_action(
|
||||
):
|
||||
"""Test for actions."""
|
||||
|
||||
await setup_entry(hass, {device.code: {"signal_repetitions": 1}})
|
||||
await setup_entry(hass, {device.code: {}})
|
||||
|
||||
device_entry = device_reg.async_get_device(device.device_identifiers, set())
|
||||
assert device_entry
|
||||
@@ -172,7 +172,7 @@ async def test_invalid_action(hass, device_reg: DeviceRegistry):
|
||||
"""Test for invalid actions."""
|
||||
device = DEVICE_LIGHTING_1
|
||||
|
||||
await setup_entry(hass, {device.code: {"signal_repetitions": 1}})
|
||||
await setup_entry(hass, {device.code: {}})
|
||||
|
||||
device_identifers: Any = device.device_identifiers
|
||||
device_entry = device_reg.async_get_device(device_identifers, set())
|
||||
|
||||
Reference in New Issue
Block a user