Remove rfxtrx signal repetition (#67675)
This commit is contained in:
parent
6c41786be4
commit
e8c05298ba
15 changed files with 43 additions and 165 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue