aboutsummaryrefslogtreecommitdiff
path: root/examples/binary_sensor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/binary_sensor.rs')
-rw-r--r--examples/binary_sensor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/binary_sensor.rs b/examples/binary_sensor.rs
index a52a5fb..ed2fe51 100644
--- a/examples/binary_sensor.rs
+++ b/examples/binary_sensor.rs
@@ -33,7 +33,7 @@ async fn main_task(spawner: Spawner) {
33 }, 33 },
34 ); 34 );
35 35
36 spawner.must_spawn(binary_sensor_class(sensor)); 36 spawner.spawn(binary_sensor_class(sensor).unwrap());
37 37
38 embassy_ha::run(&mut device, &mut stream).await.unwrap(); 38 embassy_ha::run(&mut device, &mut stream).await.unwrap();
39} 39}