From 497f036af6c9f78f36a2aeca000439afd9aff312 Mon Sep 17 00:00:00 2001 From: bigbadblunt Date: Thu, 9 Dec 2021 21:12:40 +0000 Subject: [PATCH] Add default value for signal_repetitions in cover (#61393) --- homeassistant/components/rfxtrx/cover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/rfxtrx/cover.py b/homeassistant/components/rfxtrx/cover.py index 0244e3aa8a0..4dc89577542 100644 --- a/homeassistant/components/rfxtrx/cover.py +++ b/homeassistant/components/rfxtrx/cover.py @@ -65,7 +65,7 @@ async def async_setup_entry( entity = RfxtrxCover( event.device, device_id, - signal_repetitions=entity_info[CONF_SIGNAL_REPETITIONS], + signal_repetitions=entity_info.get(CONF_SIGNAL_REPETITIONS, 1), venetian_blind_mode=entity_info.get(CONF_VENETIAN_BLIND_MODE), ) entities.append(entity)