mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Update Geizhals sensor component configuration (#7192)
This commit is contained in:
parent
e8e770e11f
commit
b815312c0a
@ -21,17 +21,30 @@ To enable this sensor, add the following lines to your `configuration.yaml` file
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
- platform: geizhals
|
- platform: geizhals
|
||||||
name: qc35
|
name: PRODUCT_NAME
|
||||||
product_id: 1696985
|
product_id: PRODUCT_ID
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
name:
|
||||||
- **name** (*Required*): The internal name of the product in Home Assistant.
|
description: The internal name of the product in Home Assistant.
|
||||||
- **product_id** (*Required*): ID of the product. Get the ID from the Geizhals website of your chosen product by opening the *Price History* in a new browser tab (right-click on the price history > open in new tab).
|
required: true
|
||||||
The URL of this site reveals the ID, e.g., `https://geizhals.de/?phist=1696985` with a `product_id` of `1696985`.
|
type: string
|
||||||
- **description** (*Optional*): The name of the product in the front end.
|
product_id:
|
||||||
- **locale** (*Optional*): Localisation which should be used for the request. Set this to `AT`, `EU`, `DE`, `UK` or `PL`. Defaults to `DE`.
|
description: "ID of the product. Get the ID from the Geizhals website of your chosen product by opening the *Price History* in a new browser tab (right-click on the price history > open in new tab). The URL of this site reveals the ID, e.g., `https://geizhals.de/?phist=1696985` with a `product_id` of `1696985`."
|
||||||
|
required: true
|
||||||
|
type: integer
|
||||||
|
description:
|
||||||
|
description: The name of the product in the front end.
|
||||||
|
required: false
|
||||||
|
default: price
|
||||||
|
type: string
|
||||||
|
locale:
|
||||||
|
description: Localisation which should be used for the request. Set this to `AT`, `EU`, `DE`, `UK` or `PL`.
|
||||||
|
required: false
|
||||||
|
default: DE
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
#### {% linkable_title Extended example %}
|
#### {% linkable_title Extended example %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user