Reworked air filter integration
All checks were successful
Build and deploy / Build application (push) Successful in 5m8s
Build and deploy / Build container (push) Successful in 2m19s
Build and deploy / Deploy container (push) Successful in 35s

This commit is contained in:
2025-01-22 03:12:13 +01:00
parent 5af713cf8f
commit 3905df690b
13 changed files with 250 additions and 160 deletions

View File

@@ -107,6 +107,7 @@ impl Device for ContactSensor {
}
}
#[async_trait]
impl google_home::Device for ContactSensor {
fn get_device_type(&self) -> google_home::types::Type {
match self.config.sensor_type {
@@ -132,7 +133,7 @@ impl google_home::Device for ContactSensor {
false
}
fn is_online(&self) -> bool {
async fn is_online(&self) -> bool {
true
}
}