Code Monkey home page Code Monkey logo

teslapsmodule's People

Contributors

eponerine avatar jonnmsft avatar jthelin avatar tuomassiren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

teslapsmodule's Issues

ID Issue

When I try to "Connect-Tesla"

I enter my credentials and receive

Where-Object : The input name "id" cannot be resolved to a property. At C:\Program Files\WindowsPowerShell\Modules\Tesla\1.0.2\Tesla.psm1:227 char:35 + $vehicle = $vehicle | Where-Object id -eq $vehicleId + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (@{response=System.Object[]; count=1}:PSObject) [Where-Object], PSArgum entException + FullyQualifiedErrorId : PropertyNotFound,Microsoft.PowerShell.Commands.WhereObjectCommand

Can't clone en-us\about_Tesla.help.txt

There is something strange going on in this repo because en-us\about_Tesla.help.txt
appears as a file with embedded backslash but on Windows that can't be cloned.

Did you intend for en-us to be a directory with file about_Tesla.help.txt within that?

Implementing missing feature

Hi
Thanks for the script but I see it has been long time since the module have been updated.
Do you have plans to implement the last missing feature like set charging level, roof setting etc.?

Old API endpoint

Invoke-RestMethod : {"response":null,"error":"Endpoint deprecated: Please update your App.","error_description":""}
At C:\users\bryan\repo\TeslaPSModule\Tesla.psm1:162 char:10

Fix Where-Object comparison syntax for older PS versions

Need to cleanup all the instances of Where-Object usage not doing comparisons in script blocks. This blows up older versions of PoSH:

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/where-object?view=powershell-6

Starting in Windows PowerShell 3.0, Where-Object adds comparison operators as parameters in a Where-Object command. Unless specified, all operators are case-insensitive. Prior to Windows PowerShell 3.0, the comparison operators in the PowerShell language could be used only in script blocks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.