Don't show input panel if default code provided in envisalink (#125256)
This commit is contained in:
parent
b61678d39c
commit
1f59bd9f92
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class EnvisalinkAlarm(EnvisalinkDevice, AlarmControlPanelEntity):
|
|||
self._partition_number = partition_number
|
||||
self._panic_type = panic_type
|
||||
self._alarm_control_panel_option_default_code = code
|
||||
self._attr_code_format = CodeFormat.NUMBER
|
||||
self._attr_code_format = CodeFormat.NUMBER if not code else None
|
||||
|
||||
_LOGGER.debug("Setting up alarm: %s", alarm_name)
|
||||
super().__init__(alarm_name, info, controller)
|
||||
|
|
Loading…
Add table
Reference in a new issue