feat: Migrate to rumqttc-next
Build and deploy / Build container and manifests (push) Successful in 21m5s
Build and deploy / build (push) Successful in 21m5s
Build and deploy / Deploy container (push) Successful in 40s

This commit is contained in:
2026-08-26 05:44:33 +02:00
parent 7ca1da8349
commit 64f3052b76
14 changed files with 250 additions and 97 deletions
+4 -1
View File
@@ -66,7 +66,10 @@ impl Device for WakeOnLAN {
#[async_trait]
impl OnMqtt for WakeOnLAN {
async fn on_mqtt(&self, message: Publish) {
if !rumqttc::matches(&message.topic, &self.config.mqtt.topic) {
if !rumqttc::matches(
str::from_utf8(&message.topic).expect("Topic should be valid"),
&self.config.mqtt.topic,
) {
return;
}