Skip to content

Commit 2d6c9ae

Browse files
authored
Update _index.md
1 parent ffd6a82 commit 2d6c9ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/components/power-sensor/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ If a sensor is not configured to have a measurement or fails to read a piece of
265265
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).
266266

267267
```python
268-
my_sensor = PowerSensor.from_robot(robot=robot, name='my_power_sensor')
268+
my_power_sensor = PowerSensor.from_robot(robot=robot, name='my_power_sensor')
269269

270270
# Get the readings provided by the sensor.
271-
readings = await my_sensor.get_readings()
271+
readings = await my_power_sensor.get_readings()
272272
```
273273

274274
{{% /tab %}}

0 commit comments

Comments
 (0)