diff --git a/devices/HAA/main.c b/devices/HAA/main.c index dadf8280..7b43dbf1 100644 --- a/devices/HAA/main.c +++ b/devices/HAA/main.c @@ -1,7 +1,7 @@ /* * Home Accessory Architect * - * v0.2.0 + * v0.2.1 * * Copyright 2019 José Antonio Jiménez Campos (@RavenSystem) * @@ -43,8 +43,8 @@ #include // Version -#define FIRMWARE_VERSION "0.2.0" -#define FIRMWARE_VERSION_OCTAL 000200 // Matches as example: firmware_revision 2.3.8 = 02.03.10 (octal) = config_number 020310 +#define FIRMWARE_VERSION "0.2.1" +#define FIRMWARE_VERSION_OCTAL 000201 // Matches as example: firmware_revision 2.3.8 = 02.03.10 (octal) = config_number 020310 // Characteristic types (ch_type) #define CH_TYPE_BOOL 0 @@ -311,6 +311,9 @@ void hkc_autooff_setter_task(void *pvParameters); // --- KILL SWITCH ON void hkc_kill_switch_on_setter(homekit_characteristic_t *ch, const homekit_value_t value) { + ch->value = value; + homekit_characteristic_notify(ch, ch->value); + setup_mode_toggle_upcount(); save_states_callback(); } diff --git a/external_libs/wifi_config_haa/content/index.html b/external_libs/wifi_config_haa/content/index.html index fb02c829..f8f31079 100755 --- a/external_libs/wifi_config_haa/content/index.html +++ b/external_libs/wifi_config_haa/content/index.html @@ -45,7 +45,7 @@ .field.required label::before {content: "*"; color: red;}
-

Home Accessory Architect v0.2.0

+

Home Accessory Architect v0.2.1