mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
BugFix Popp strike lock not discovered in homeassistant. (#12951)
* Add Secure lockbox to lock discovery * Add Entry_control devices to binary sensors
This commit is contained in:
parent
c462292e4d
commit
4aed41cbe8
@ -16,6 +16,7 @@ DEFAULT_VALUES_SCHEMA = {
|
||||
DISCOVERY_SCHEMAS = [
|
||||
{const.DISC_COMPONENT: 'binary_sensor',
|
||||
const.DISC_GENERIC_DEVICE_CLASS: [
|
||||
const.GENERIC_TYPE_ENTRY_CONTROL,
|
||||
const.GENERIC_TYPE_SENSOR_ALARM,
|
||||
const.GENERIC_TYPE_SENSOR_BINARY,
|
||||
const.GENERIC_TYPE_SWITCH_BINARY,
|
||||
@ -173,7 +174,8 @@ DISCOVERY_SCHEMAS = [
|
||||
const.DISC_GENERIC_DEVICE_CLASS: [const.GENERIC_TYPE_ENTRY_CONTROL],
|
||||
const.DISC_SPECIFIC_DEVICE_CLASS: [
|
||||
const.SPECIFIC_TYPE_ADVANCED_DOOR_LOCK,
|
||||
const.SPECIFIC_TYPE_SECURE_KEYPAD_DOOR_LOCK],
|
||||
const.SPECIFIC_TYPE_SECURE_KEYPAD_DOOR_LOCK,
|
||||
const.SPECIFIC_TYPE_SECURE_LOCKBOX],
|
||||
const.DISC_VALUES: dict(DEFAULT_VALUES_SCHEMA, **{
|
||||
const.DISC_PRIMARY: {
|
||||
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_DOOR_LOCK],
|
||||
|
Loading…
x
Reference in New Issue
Block a user