From 2d6c9ae7b767791e36e0b79e99a64a3d0b86d360 Mon Sep 17 00:00:00 2001 From: Sierra Guequierre Date: Thu, 2 Nov 2023 13:04:23 -0400 Subject: [PATCH] Update _index.md --- docs/components/power-sensor/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/power-sensor/_index.md b/docs/components/power-sensor/_index.md index 54e79cbb72..2e3f37cb46 100644 --- a/docs/components/power-sensor/_index.md +++ b/docs/components/power-sensor/_index.md @@ -265,10 +265,10 @@ If a sensor is not configured to have a measurement or fails to read a piece of For more information, see the [Python SDK Docs](https://python.viam.dev/autoapi/viam/components/power_sensor/client/index.html#viam.components.power_sensor.client.PowerSensorClient.get_readings). ```python -my_sensor = PowerSensor.from_robot(robot=robot, name='my_power_sensor') +my_power_sensor = PowerSensor.from_robot(robot=robot, name='my_power_sensor') # Get the readings provided by the sensor. -readings = await my_sensor.get_readings() +readings = await my_power_sensor.get_readings() ``` {{% /tab %}}