microWakeWord: Add minimum_esphome_version as optional field (#3612)

This commit is contained in:
Jesse Hills 2024-02-19 11:53:00 +13:00
parent 54d84e26c4
commit c473a1d6cd
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,7 @@ Model JSON
}
}
The model JSON file contains the following fields that are all **required**:
The model JSON file contains the following fields that are all **required** unless otherwise specified:
- **type** (string): The type of the model. This should always be ``micro``.
- **wake_word** (string): The wake word that the model is trained to detect.
@ -74,6 +74,7 @@ The model JSON file contains the following fields that are all **required**:
- **probability_cutoff** (float): The probability cutoff for the wake word detection.
If the probability of the wake word is below this value, the wake word is not detected.
- **sliding_window_average_size** (int): The size of the sliding window average for the wake word detection.
- **minimum_esphome_version** (*Optional* version): The minimum ESPHome version required to use this model.
Automations