diff --git a/README.md b/README.md index 8764742..d52ae5a 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,24 @@ Configuration variables: - **unit_of_measurement** (*Optional*): Defines the units of measurement of the sensor, if any. - **time_format** (*Optional*): **`strftime`** type string to beautify time attribute output. Applicable only when attribute `last_changed` or `last_triggered` is selected. Cheatsheet for strftime formatting [here](http://strftime.ninja/). +## Install via [HACS](https://github.com/custom-components/hacs) +You can find this integration in a store. + +## Install manually +You need to clone this repo to the root folder of your configuration, file tree should look like this: +``` +└── ... +└── configuration.yaml +└── custom_components + └── attributes + └── __init__.py + └── manifest.json + └── sensor.py +``` + +>**Note**: if the custom_components directory does not exist, you need to create it. + +## Examples This example shows how to extact `battery_level` attribute. ```yaml diff --git a/custom_components/attributes/manifest.json b/custom_components/attributes/manifest.json index 1f310f3..30cecce 100644 --- a/custom_components/attributes/manifest.json +++ b/custom_components/attributes/manifest.json @@ -1,7 +1,7 @@ { "domain": "attributes", "name": "Attributes", - "documentation": "https://github.com/pilotak/homeassistant-attributes/blob/master/info.md", + "documentation": "https://github.com/pilotak/homeassistant-attributes", "requirements": [], "dependencies": [], "codeowners": [