From 0f010eca845f009112295cfbf0d408528ec0277f Mon Sep 17 00:00:00 2001 From: Sickbart Date: Fri, 26 Jul 2024 00:36:31 +0200 Subject: [PATCH] update readme --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b34bc05..f75cf12 100644 --- a/README.md +++ b/README.md @@ -43,14 +43,15 @@ The adapter requires Node 18 or newer. The following states can be changed and will take effect on your device respectively will be reflected in your Sure Petcare® app. -| state | description | allowed values | -|-----------------------------------------------------------------------|----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------| -| household_name.hub_name.control.led_mode | sets the brightness of the hub leds | **0** - off
**1** - high
**4** - dimmed | -| household_name.hub_name.flap_name.control.curfew | enables or disables the configured curfew
(curfew must be configured via app) | **true** or **false** | -| household_name.hub_name.flap_name.control.lockmode | sets the lockmode | **0** - open
**1** - lock in
**2** - lock out
**3** - closed (lock in and out) | -| household_name.hub_name.flap_name.assigned_pets.pet_name.control.type | sets the pet type for the assigned pet and flap | **2** - outdoor pet
**3** - indoor pet | -| household_name.hub_name.feeder_name.control.close_delay | sets the close delay of the feeder lid | **0** - fast
**4** - normal
**20** - slow | -| household_name.pets.pet_name.inside | sets whether your pet is inside | **true** or **false** | +| state | description | allowed values | +|-----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------| +| household_name.hub_name.control.led_mode | sets the brightness of the hub leds | **0** - off
**1** - high
**4** - dimmed | +| household_name.hub_name.flap_name.control.curfew_enabled | enables or disables the configured curfew | **true** or **false** | +| household_name.hub_name.flap_name.control.current_curfew | sets the current_curfew
json array of attributes enabled, lock_time and unlock_time
supports 1 (pet flap) or up to 4 (cat flap) curfew times | **[{"enabled":true\|false,"lock_time":"xx:xx","unlock_time":"xx:xx"},...]** | +| household_name.hub_name.flap_name.control.lockmode | sets the lockmode | **0** - open
**1** - lock in
**2** - lock out
**3** - closed (lock in and out) | +| household_name.hub_name.flap_name.assigned_pets.pet_name.control.type | sets the pet type for the assigned pet and flap | **2** - outdoor pet
**3** - indoor pet | +| household_name.hub_name.feeder_name.control.close_delay | sets the close delay of the feeder lid | **0** - fast
**4** - normal
**20** - slow | +| household_name.pets.pet_name.inside | sets whether your pet is inside | **true** or **false** | ### Structure