Skip to content

Commit

Permalink
Merge pull request #57 from tesla-local-control/pull-core-v0.2.2
Browse files Browse the repository at this point in the history
Pull core v0.2.2
  • Loading branch information
iainbullock authored Sep 15, 2024
2 parents 79bf43b + 092ae0c commit b9d991d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.2.2

### Changed

- NEW Feature: Try to wake car if command fails with "Error: context deadline exceeded"
- NEW Feature: Added maximum allowable setting to limit the current slider in HA entities

#### Contributors - Thank you!
- @g4rb4g3 Clear logging on charging current setting

## 0.2.1-1

Minor version - no change in core code
Expand Down
2 changes: 1 addition & 1 deletion app
5 changes: 5 additions & 0 deletions libproduct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ function validateEnvVars() {
exitOnError=1
fi

if ! echo $MAX_CURRENT | grep -Eq "$INT0PLUS_PATTERN"; then
log_fatal "Fatal; MAX_CURRENT:$MAX_CURRENT is not compliant, please check this setting"
exitOnError=1
fi


if [ $exitOnError -eq 0 ]; then
:
Expand Down
4 changes: 4 additions & 0 deletions stack.env
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ TZ='Europe/London'
#
TEMPERATURE_UNIT_FAHRENHEIT=

### Default 48
#
MAX_CURRENT=

### Default false
#
DEBUG=
Expand Down

0 comments on commit b9d991d

Please sign in to comment.