mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Add default value for signal_repetitions in cover (#61393)
This commit is contained in:
parent
d64ae20f94
commit
497f036af6
@ -65,7 +65,7 @@ async def async_setup_entry(
|
|||||||
entity = RfxtrxCover(
|
entity = RfxtrxCover(
|
||||||
event.device,
|
event.device,
|
||||||
device_id,
|
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),
|
venetian_blind_mode=entity_info.get(CONF_VENETIAN_BLIND_MODE),
|
||||||
)
|
)
|
||||||
entities.append(entity)
|
entities.append(entity)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user