self test for motion

This commit is contained in:
Tester23
2024-05-07 12:59:36 +02:00
parent 44b0d7c5ef
commit 47c4f4e3b3
2 changed files with 65 additions and 1 deletions

View File

@ -1846,7 +1846,7 @@ void doHomeAssistantDiscovery(const char* topic, http_request_t* request) {
{
case ChType_Motion:
{
dev_info = hass_init_binary_sensor_device_info(i, false);
dev_info = hass_init_binary_sensor_device_info(i, true);
cJSON_AddStringToObject(dev_info->root, "dev_cla", "motion");
}
break;