mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
move wink service definitions from lock to wink domain (#29137)
This commit is contained in:
parent
5120181e0e
commit
9e882ef6b4
@ -62,66 +62,3 @@ unlock:
|
|||||||
code:
|
code:
|
||||||
description: An optional code to unlock the lock with.
|
description: An optional code to unlock the lock with.
|
||||||
example: 1234
|
example: 1234
|
||||||
|
|
||||||
wink_set_lock_vacation_mode:
|
|
||||||
description: Set vacation mode for all or specified locks. Disables all user codes.
|
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: Name of lock to unlock.
|
|
||||||
example: 'lock.front_door'
|
|
||||||
enabled:
|
|
||||||
description: enable or disable. true or false.
|
|
||||||
example: true
|
|
||||||
|
|
||||||
wink_set_lock_alarm_mode:
|
|
||||||
description: Set alarm mode for all or specified locks.
|
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: Name of lock to unlock.
|
|
||||||
example: 'lock.front_door'
|
|
||||||
mode:
|
|
||||||
description: One of tamper, activity, or forced_entry.
|
|
||||||
example: tamper
|
|
||||||
|
|
||||||
wink_set_lock_alarm_sensitivity:
|
|
||||||
description: Set alarm sensitivity for all or specified locks.
|
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: Name of lock to unlock.
|
|
||||||
example: 'lock.front_door'
|
|
||||||
sensitivity:
|
|
||||||
description: One of low, medium_low, medium, medium_high, high.
|
|
||||||
example: medium
|
|
||||||
|
|
||||||
wink_set_lock_alarm_state:
|
|
||||||
description: Set alarm state.
|
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: Name of lock to unlock.
|
|
||||||
example: 'lock.front_door'
|
|
||||||
enabled:
|
|
||||||
description: enable or disable. true or false.
|
|
||||||
example: true
|
|
||||||
|
|
||||||
wink_set_lock_beeper_state:
|
|
||||||
description: Set beeper state.
|
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: Name of lock to unlock.
|
|
||||||
example: 'lock.front_door'
|
|
||||||
enabled:
|
|
||||||
description: enable or disable. true or false.
|
|
||||||
example: true
|
|
||||||
|
|
||||||
wink_add_new_lock_key_code:
|
|
||||||
description: Add a new user key code.
|
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: Name of lock to unlock.
|
|
||||||
example: 'lock.front_door'
|
|
||||||
name:
|
|
||||||
description: name of the new key code.
|
|
||||||
example: Bob
|
|
||||||
code:
|
|
||||||
description: new key code, length must match length of other codes. Default length is 4.
|
|
||||||
example: 1234
|
|
||||||
|
@ -18,12 +18,12 @@ from . import DOMAIN, WinkDevice
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
SERVICE_SET_VACATION_MODE = "wink_set_lock_vacation_mode"
|
SERVICE_SET_VACATION_MODE = "set_lock_vacation_mode"
|
||||||
SERVICE_SET_ALARM_MODE = "wink_set_lock_alarm_mode"
|
SERVICE_SET_ALARM_MODE = "set_lock_alarm_mode"
|
||||||
SERVICE_SET_ALARM_SENSITIVITY = "wink_set_lock_alarm_sensitivity"
|
SERVICE_SET_ALARM_SENSITIVITY = "set_lock_alarm_sensitivity"
|
||||||
SERVICE_SET_ALARM_STATE = "wink_set_lock_alarm_state"
|
SERVICE_SET_ALARM_STATE = "set_lock_alarm_state"
|
||||||
SERVICE_SET_BEEPER_STATE = "wink_set_lock_beeper_state"
|
SERVICE_SET_BEEPER_STATE = "set_lock_beeper_state"
|
||||||
SERVICE_ADD_KEY = "wink_add_new_lock_key_code"
|
SERVICE_ADD_KEY = "add_new_lock_key_code"
|
||||||
|
|
||||||
ATTR_ENABLED = "enabled"
|
ATTR_ENABLED = "enabled"
|
||||||
ATTR_SENSITIVITY = "sensitivity"
|
ATTR_SENSITIVITY = "sensitivity"
|
||||||
|
@ -152,3 +152,66 @@ set_nimbus_dial_state:
|
|||||||
labels:
|
labels:
|
||||||
description: The values shown on the dial labels ["Dial 1", "test"] the first value is what is shown by default the second value is shown when the nimbus is pressed
|
description: The values shown on the dial labels ["Dial 1", "test"] the first value is what is shown by default the second value is shown when the nimbus is pressed
|
||||||
example: ["example", "test"]
|
example: ["example", "test"]
|
||||||
|
|
||||||
|
set_lock_vacation_mode:
|
||||||
|
description: Set vacation mode for all or specified locks. Disables all user codes.
|
||||||
|
fields:
|
||||||
|
entity_id:
|
||||||
|
description: Name of lock to unlock.
|
||||||
|
example: 'lock.front_door'
|
||||||
|
enabled:
|
||||||
|
description: enable or disable. true or false.
|
||||||
|
example: true
|
||||||
|
|
||||||
|
set_lock_alarm_mode:
|
||||||
|
description: Set alarm mode for all or specified locks.
|
||||||
|
fields:
|
||||||
|
entity_id:
|
||||||
|
description: Name of lock to unlock.
|
||||||
|
example: 'lock.front_door'
|
||||||
|
mode:
|
||||||
|
description: One of tamper, activity, or forced_entry.
|
||||||
|
example: tamper
|
||||||
|
|
||||||
|
set_lock_alarm_sensitivity:
|
||||||
|
description: Set alarm sensitivity for all or specified locks.
|
||||||
|
fields:
|
||||||
|
entity_id:
|
||||||
|
description: Name of lock to unlock.
|
||||||
|
example: 'lock.front_door'
|
||||||
|
sensitivity:
|
||||||
|
description: One of low, medium_low, medium, medium_high, high.
|
||||||
|
example: medium
|
||||||
|
|
||||||
|
set_lock_alarm_state:
|
||||||
|
description: Set alarm state.
|
||||||
|
fields:
|
||||||
|
entity_id:
|
||||||
|
description: Name of lock to unlock.
|
||||||
|
example: 'lock.front_door'
|
||||||
|
enabled:
|
||||||
|
description: enable or disable. true or false.
|
||||||
|
example: true
|
||||||
|
|
||||||
|
set_lock_beeper_state:
|
||||||
|
description: Set beeper state.
|
||||||
|
fields:
|
||||||
|
entity_id:
|
||||||
|
description: Name of lock to unlock.
|
||||||
|
example: 'lock.front_door'
|
||||||
|
enabled:
|
||||||
|
description: enable or disable. true or false.
|
||||||
|
example: true
|
||||||
|
|
||||||
|
add_new_lock_key_code:
|
||||||
|
description: Add a new user key code.
|
||||||
|
fields:
|
||||||
|
entity_id:
|
||||||
|
description: Name of lock to unlock.
|
||||||
|
example: 'lock.front_door'
|
||||||
|
name:
|
||||||
|
description: name of the new key code.
|
||||||
|
example: Bob
|
||||||
|
code:
|
||||||
|
description: new key code, length must match length of other codes. Default length is 4.
|
||||||
|
example: 1234
|
Loading…
x
Reference in New Issue
Block a user