another HA discovery fix
This commit is contained in:
2
Config.h
2
Config.h
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define NUKI_HUB_VERSION "8.27"
|
#define NUKI_HUB_VERSION "8.27-pre-1"
|
||||||
|
|
||||||
#define MQTT_QOS_LEVEL 1
|
#define MQTT_QOS_LEVEL 1
|
||||||
#define MQTT_CLEAN_SESSIONS false
|
#define MQTT_CLEAN_SESSIONS false
|
||||||
|
|||||||
@@ -1088,7 +1088,7 @@ void Network::publishHASSConfigKeypadAttemptInfo(char *deviceType, const char *b
|
|||||||
"diagnostic",
|
"diagnostic",
|
||||||
"",
|
"",
|
||||||
{ { "ic", "mdi:drag-vertical" },
|
{ { "ic", "mdi:drag-vertical" },
|
||||||
{ "value_template", "{{ (value_json|selectattr('type', 'eq', 'KeypadAction')|first).completionStatus }}" }});
|
{ "value_template", "{{ (value_json|selectattr('type', 'eq', 'KeypadAction')|first|default).completionStatus|default }}" }});
|
||||||
}
|
}
|
||||||
|
|
||||||
void Network::publishHASSWifiRssiConfig(char *deviceType, const char *baseTopic, char *name, char *uidString)
|
void Network::publishHASSWifiRssiConfig(char *deviceType, const char *baseTopic, char *name, char *uidString)
|
||||||
|
|||||||
Reference in New Issue
Block a user