Skip to content

Commit

Permalink
add asset-id cli param
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad-Wahid committed Jul 26, 2023
1 parent 8465c17 commit 3022ffd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions flexmeasures_openweathermap/cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,20 @@
required=True,
help=f"Name of the sensor. Has to be from the supported list ({supported_sensors_list})",
)
# @click.option("--generic-asset-id", required=False, help="The asset id of the weather station (you can also give its location).")
@click.option(
"--asset-id",
required=False,
help="The asset id of the weather station (you can also give its location).",
)
@click.option(
"--latitude",
required=True,
required=False,
type=float,
help="Latitude of where you want to measure.",
)
@click.option(
"--longitude",
required=True,
required=False,
type=float,
help="Longitude of where you want to measure.",
)
Expand Down

0 comments on commit 3022ffd

Please sign in to comment.