Add more TeslaFi commands [part of #28] #35
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds:
cover.charge_port_door
- Unavailable when the car state isdriving
switch.steering_wheel_heater
- Unavailable when climate is off, not supported by all vehiclesnumber.set_charge_limit
- Set the battery SOC limit, can be set at any timenumber.request_charger_current
: Set the requested charger current (amps), up to the available max current. Unavailable when the charger cable is unplugged.switch.charging
This switch can take the place of the
binary_sensor.charging
entity, where the switch can be toggled off/on in order to stop/start charging. The entity is unavailable when the charging cable is not plugged in. The way the entity appears in Home Assistant might be less desirable for some - that is why the entity is disabled by default.If you want to keep the binary_sensor, but also still have the ability to stop/start charging, you can set the switch entity to hidden, and use some other means to toggle the switch, like with a Button or automation calling switch.* services.
The command(s) must be enabled in TeslaFi for these to work.