TrueChartsClone/charts/stable/appdaemon/docs/validation.md

661 B

title
Input Validation

LATITUDE Accepted formats are:

  • Float (eg. 24.2028)
  • Negative Float (eg. -24.2028)

Regex used to match this: ^(\+|-)?(?:90(?:(?:\.0{1,15})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,15})?))$ You can try live here

LONGITUDE Accepted formats are:

  • Float (eg. 24.2028)
  • Negative Float (eg. -24.2028)

Regex used to match this: ^(\+|-)?(?:180(?:(?:\.0{1,15})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,15})?))$ You can try live here


If you find a field that you think it needs validation, please open an issue on github