We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 933fabf + a07041d commit 5a8ebbfCopy full SHA for 5a8ebbf
1 file changed
custom_components/satellitetracker/config_flow.py
@@ -22,7 +22,9 @@
22
from .const import (
23
DOMAIN,
24
CONF_MIN_VISIBILITY,
25
- DEFAULT_MIN_VISIBILITY,
+ DEFAULT_MIN_VISIBILITY,
26
+ CONF_MIN_ELEVATION,
27
+ DEFAULT_MIN_ELEVATION,
28
DEFAULT_POLLING_INTERVAL,
29
CONF_SATELLITE,
30
CONF_MIN_ALERT,
@@ -264,6 +266,12 @@ async def async_step_init(self, user_input=None):
264
266
CONF_MIN_VISIBILITY, DEFAULT_MIN_VISIBILITY
265
267
),
268
):int,
269
+ vol.Optional(
270
271
+ default=self._config_entry.options.get(
272
+ CONF_MIN_ELEVATION, DEFAULT_MIN_ELEVATION
273
+ ),
274
+ ):int,
275
vol.Optional(
276
277
default=self._config_entry.options.get(
0 commit comments