mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update key
This commit is contained in:
parent
e8a8330096
commit
fedb2b79cf
@ -22,7 +22,7 @@ To enable this sensor, add the following lines to your `configuration.yaml` file
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor sma:
|
sensor:
|
||||||
- platform: sma
|
- platform: sma
|
||||||
host: IP_ADDRESS_OF_DEVICE
|
host: IP_ADDRESS_OF_DEVICE
|
||||||
password: YOUR_SMA_PASSWORD
|
password: YOUR_SMA_PASSWORD
|
||||||
@ -38,11 +38,12 @@ Configuration variables:
|
|||||||
- **password** (*Required*): The password of the SMA WebConnect module.
|
- **password** (*Required*): The password of the SMA WebConnect module.
|
||||||
- **group** (*Optional*): The user group, which can be either `user` (the default) or `installer`.
|
- **group** (*Optional*): The user group, which can be either `user` (the default) or `installer`.
|
||||||
- **sensors** (*Required*): A dictionary of sensors that will be added. The value of the dictionary can include sensor names that will be shown as attributes.
|
- **sensors** (*Required*): A dictionary of sensors that will be added. The value of the dictionary can include sensor names that will be shown as attributes.
|
||||||
- **custom** (*Optional*): A dictionary of custom sensor key values and units
|
- **custom** (*Optional*): A dictionary of custom sensor key values and units.
|
||||||
|
|
||||||
Sensors configuration:
|
Sensors configuration:
|
||||||
|
|
||||||
The sensors can be any one of the following:
|
The sensors can be any one of the following:
|
||||||
|
|
||||||
- current_power
|
- current_power
|
||||||
- current_consumption
|
- current_consumption
|
||||||
- total_power
|
- total_power
|
||||||
|
Loading…
x
Reference in New Issue
Block a user