mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 12:46:22 +01:00
commit
ddff92c88b
@ -344,6 +344,7 @@ void VoiceAssistant::loop() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_SPEAKER
|
||||||
void VoiceAssistant::write_speaker_() {
|
void VoiceAssistant::write_speaker_() {
|
||||||
if (this->speaker_buffer_size_ > 0) {
|
if (this->speaker_buffer_size_ > 0) {
|
||||||
size_t written = this->speaker_->play(this->speaker_buffer_, this->speaker_buffer_size_);
|
size_t written = this->speaker_->play(this->speaker_buffer_, this->speaker_buffer_size_);
|
||||||
@ -357,6 +358,7 @@ void VoiceAssistant::write_speaker_() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void VoiceAssistant::client_subscription(api::APIConnection *client, bool subscribe) {
|
void VoiceAssistant::client_subscription(api::APIConnection *client, bool subscribe) {
|
||||||
if (!subscribe) {
|
if (!subscribe) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"""Constants used by esphome."""
|
"""Constants used by esphome."""
|
||||||
|
|
||||||
__version__ = "2023.11.5"
|
__version__ = "2023.11.6"
|
||||||
|
|
||||||
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||||
VALID_SUBSTITUTIONS_CHARACTERS = (
|
VALID_SUBSTITUTIONS_CHARACTERS = (
|
||||||
|
Loading…
Reference in New Issue
Block a user