# Power Sensor Component

Configuration attribute reference for built-in power sensor models.
> Source: https://docs.viam.com/reference/components/power-sensor/


This section documents the configuration attributes for each built-in power sensor model.
Use these pages when you are writing a JSON configuration, debugging a config validation error, or looking up the default for a specific attribute.

- For how to add and configure a power sensor component on your machine, see [Power sensor](/hardware/common-components/add-a-power-sensor/).
- For the methods you call on a power sensor in code, see the [Power sensor API reference](/reference/apis/components/power-sensor/).
- For power sensor models outside the built-in set, search for `power sensor` in the [Viam registry](https://app.viam.com/registry). Each registry module's configuration is documented in its own README on its registry page.

## Built-in models

The following power sensor models ship with `viam-server`:

| Model           | Description                                     |
| --------------- | ----------------------------------------------- |
| [`fake`](/reference/components/power-sensor/fake/) | A model for testing, with no physical hardware. |

