Skip to content

Commit

Permalink
Try to pass HASSFEST
Browse files Browse the repository at this point in the history
  • Loading branch information
Serge Wagener committed Sep 17, 2024
1 parent 8ab8363 commit 24fdc75
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion custom_components/pollen_lu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.const import CONF_SCAN_INTERVAL
from homeassistant.core import ServiceCall, SupportsResponse
from homeassistant.helpers import config_validation as cv

from datetime import timedelta, datetime
import logging

from .const import DOMAIN, API_URL

_LOGGER = logging.getLogger(__name__)
CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)

async def async_setup(hass, config: dict) -> bool:
"""Set up the integration."""
Expand Down
2 changes: 1 addition & 1 deletion custom_components/pollen_lu/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeowners": ["@Foxi352"],
"requirements": [],
"iot_class": "cloud_polling",
"translations": ["en", "de", "fr"],
"translations": true,
"config_flow": true,
"integration_type": "service",
"after_dependencies": ["http", "network"]
Expand Down
1 change: 1 addition & 0 deletions custom_components/pollen_lu/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"services": {
"force_poll": {
"name": "Force poll the API",
"description": "Force poll the Pollen.lu API immediately.",
"fields": {
"none": {
Expand Down
1 change: 1 addition & 0 deletions custom_components/pollen_lu/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"services": {
"force_poll": {
"name": "Sofortiges Abrufen der API",
"description": "Sofortiges Abrufen der Pollen.lu API erzwingen.",
"fields": {
"none": {
Expand Down
1 change: 1 addition & 0 deletions custom_components/pollen_lu/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"services": {
"force_poll": {
"name": "Force poll the API",
"description": "Force poll the Pollen.lu API immediately.",
"fields": {
"none": {
Expand Down
1 change: 1 addition & 0 deletions custom_components/pollen_lu/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"services": {
"force_poll": {
"name": "Forcer l'interrogation de l'API",
"description": "Forcer l'interrogation de l'API Pollen.lu immédiatement.",
"fields": {
"none": {
Expand Down

0 comments on commit 24fdc75

Please sign in to comment.