Skip to content

Commit

Permalink
Merge pull request #11 from fars-fede-fire/remove-defaults
Browse files Browse the repository at this point in the history
removed defaults from config_flow
  • Loading branch information
fars-fede-fire authored May 21, 2023
2 parents 429a38e + 1f3cfec commit b1c6d6c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions custom_components/price_calc/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@

HISTORY_SOURCE_SCHEMA = vol.Schema(
{
vol.Required(CONF_TYPE, default='dishwasher'): selector.TextSelector(),
vol.Required(CONF_MANUFACTOR, default='Electrolux'): selector.TextSelector(),
vol.Required(CONF_MODEL, default='eeq47200l'): selector.TextSelector(),
vol.Required(CONF_MODE, default='eco'): selector.TextSelector(),
vol.Required(CONF_MEASURE_METHOD, default='Shelly Plug S'): selector.TextSelector(),
vol.Required(CONF_HISTORY_SENSOR, default='sensor.shelly_energy'): selector.EntitySelector(
vol.Required(CONF_TYPE): selector.TextSelector(),
vol.Required(CONF_MANUFACTOR): selector.TextSelector(),
vol.Required(CONF_MODEL): selector.TextSelector(),
vol.Required(CONF_MODE): selector.TextSelector(),
vol.Required(CONF_MEASURE_METHOD): selector.TextSelector(),
vol.Required(CONF_HISTORY_SENSOR): selector.EntitySelector(
selector.EntitySelectorConfig(domain=SENSOR_DOMAIN)
),
vol.Required(
CONF_START_TIME, default="2023-05-17 12:47:35"
CONF_START_TIME
): selector.DateTimeSelector(selector.DateTimeSelectorConfig()),
vol.Required(
CONF_END_TIME, default="2023-05-17 16:48:28"
CONF_END_TIME
): selector.DateTimeSelector(selector.DateTimeSelectorConfig()),
}
)
Expand Down

0 comments on commit b1c6d6c

Please sign in to comment.