Modified manifest.json to match new requirements, chaged the folder name with underscore

This commit is contained in:
lfasci
2021-06-16 22:00:23 +02:00
parent f8f259a161
commit 9315daa94a
3 changed files with 2 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ To enable it, add the following lines to your `configuration.yaml`:
```yaml
# Example configuration.yaml entry
sensor:
- platform: prometheus-query
- platform: prometheus_query
name: Temperature Pisa
prometheus_url: http://localhost:9090
prometheus_query: temperature{location="Pisa",province="PI",region="Tuscany"}

View File

@@ -3,7 +3,6 @@
"name": "Prometheus query sensor",
"version": "2021.06.1",
"documentation": "https://github.com/lfasci/homeassistant-prometheus-query",
"dependencies": "prometheus_client",
"codeowners": ["lfasci"],
"requirements": ["prometheus_client","requests"]
"requirements": ["prometheus-client==0.9.0", "requests==2.25.0"]
}

View File

@@ -15,7 +15,6 @@ from homeassistant.const import (
from prometheus_client import Summary
DOMAIN = 'prometheus'
CONF_PROMETHEUS_URL = 'prometheus_url'
CONF_PROMETHEUS_QUERY = 'prometheus_query'
SCAN_INTERVAL = timedelta(seconds=600)