
* Sets front matter defaults * Removes default front matter from section templates/pages * Removes default front matter from addon pages * Removes default front matter from integration pages * Removes default front matter from posts * Removes default front matter from docs pages * Removes default front matter from other pages * Fixes blog category pages
1.5 KiB
title, description, logo, ha_category, ha_release, ha_iot_class, redirect_from
title | description | logo | ha_category | ha_release | ha_iot_class | redirect_from | ||
---|---|---|---|---|---|---|---|---|
PrezziBenzina Sensor | Instructions on how to integrate PrezziBenzina sensors within Home Assistant. | prezzibenzina.png |
|
0.85 | Cloud Polling |
|
The prezzibenzina
platform allows you to monitor the fuel prices with PrezziBenzina.it from within Home Assistant and setup automations based on the information.
Setup
To use this sensor you need the station ID. To get this information go to PrezziBenzina.it with your browser and find your station. Then copy the ID from the URL bar.
https://www.prezzibenzina.it/distributori/STATION_ID/
Configuration
To enable this sensor, add the following lines to your configuration.yaml
:
# Example configuration.yaml entry
sensor:
- platform: prezzibenzina
station: STATION_ID
{% configuration %}
station:
description: The ID of the station you want to use.
required: true
type: string
fuel_types:
description: "The types of fuels you want to track. Allowed values are Benzina
, Benzina speciale
, Diesel
, Diesel speciale
, GPL
or Metano
."
required: false
type: list
name:
description: The name of the station.
required: false
type: string
{% endconfiguration %}
Full example
This is a full example of the sensor:
sensor:
- platform: prezzibenzina
station: <id>
fuel_types:
- "Benzina"
- "GPL"
name: "Station"