# Power Sensor Component

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](https://docs.viam.com/hardware/common-components/add-a-power-sensor/).
- For the methods you call on a power sensor in code, see the [Power sensor API reference](https://docs.viam.com/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`](https://docs.viam.com/reference/components/power-sensor/fake/) | A model for testing, with no physical hardware.
