Skip to content

Commit

Permalink
Fix compile-error for the other test
Browse files Browse the repository at this point in the history
  • Loading branch information
dala318 committed Sep 25, 2024
1 parent 1179faa commit e921439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
# from pytest_homeassistant_custom_component.async_mock import patch
import voluptuous as vol

from custom_components.nordpool_planner.const import *
from homeassistant import config_entries
from homeassistant.const import ATTR_NAME, ATTR_UNIT_OF_MEASUREMENT
from homeassistant.helpers import selector

NP_ENTITY_NAME = "sensor.nordpool_ent"

SCHEMA_COPY = vol.Schema(
{
vol.Required(CONF_NAME): str,
vol.Required(ATTR_NAME): str,
vol.Required(CONF_TYPE): selector.SelectSelector(
selector.SelectSelectorConfig(options=CONF_TYPE_LIST),
),
Expand Down

0 comments on commit e921439

Please sign in to comment.