Skip to content

Commit

Permalink
hassfest
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindwe committed Jan 7, 2025
1 parent 479f9bb commit 34dac1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions custom_components/connectlife/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform, CONF_USERNAME, CONF_PASSWORD
from homeassistant.core import HomeAssistant
from homeassistant.helpers import config_validation as cv
from connectlife.api import ConnectLifeApi, LifeConnectAuthError

from .const import CONF_DEVELOPMENT_MODE, CONF_TEST_SERVER_URL, DOMAIN
Expand All @@ -23,6 +24,8 @@
Platform.WATER_HEATER,
]

CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)


async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up ConnectLife."""
Expand Down
8 changes: 4 additions & 4 deletions custom_components/connectlife/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ set_action:
select:
options:
- label: stop
value: 1
value: "1"
- label: start
value: 2
value: "2"
- label: pause
value: 3
value: "3"
- label: open_door
value: 4
value: "4"

0 comments on commit 34dac1b

Please sign in to comment.