Skip to content

Commit

Permalink
Fixed API
Browse files Browse the repository at this point in the history
  • Loading branch information
rainepretorius committed Oct 24, 2023
1 parent 7dc208d commit 4291265
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion custom_components/olarm_sensors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import re

from olarm_api_rainepretorius import OlarmApi, OlarmSetupApi
from .olarm_api import OlarmApi, OlarmSetupApi
import voluptuous as vol

from homeassistant.components.alarm_control_panel import (
Expand Down
2 changes: 1 addition & 1 deletion custom_components/olarm_sensors/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import asyncio
from typing import Any

from olarm_api_rainepretorius import OlarmSetupApi # type: ignore[import-untyped]
from .olarm_api import OlarmSetupApi # type: ignore[import-untyped]
import voluptuous as vol # type: ignore[import-untyped]

from homeassistant.config_entries import ConfigEntry, ConfigFlow, OptionsFlow
Expand Down
2 changes: 1 addition & 1 deletion custom_components/olarm_sensors/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
STATE_ALARM_TRIGGERED,
)

VERSION = "2.2.6"
VERSION = "2.2.5"
DOMAIN = "olarm_sensors"
AUTHENTICATION_ERROR = "invalid_credentials"
LOGGER = logging.getLogger(__package__)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/olarm_sensors/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from datetime import datetime, timedelta
import time

from olarm_api_rainepretorius import OlarmApi, OlarmUpdateAPI
from .olarm_api import OlarmApi, OlarmUpdateAPI

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_API_KEY, CONF_SCAN_INTERVAL
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "Integration for Olarm devices",
"domains": ["binary_sensor", "alarm_control_panel", "button", "switch"],
"documentation": "https://github.com/rainepretorius/olarm-ha-integration/blob/main/README.md",
"version": "2.2.4",
"version": "2.2.5",
"iot_class": "cloud_push"
}

0 comments on commit 4291265

Please sign in to comment.