hass-core/homeassistant/components/keba/services.yaml
Philipp Danner 75e18d4282 Add Keba charging station/wallbox as component (#24484)
* Add Keba charging station wallbox component

* Added start/stop commands (ena 0 and ena 1)

* added refresh_interval parameter and fixed authorization

* fixed max line length

* deactivate failsafe mode if not set in configuration

* extracted I/O code to pypi library

* updated services.yaml

* pinned version of requirements

* fixed typos, indent and comments

* simplified sensor generation, fixed unique_id and name of sensors

* cleaned up data extraction

* flake8 fixes

* added fast polling, fixed unique_id, code cleanup

* updated requirements

* fixed pylint

* integrated code styling suggestions

* fixed pylint

* code style changes according to suggestions and pylint fixes

* formatted with black

* clarefied variables

* Update homeassistant/components/keba/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Update homeassistant/components/keba/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Update homeassistant/components/keba/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Update homeassistant/components/keba/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* fixed behaviour if no charging station was found

* fix pylint

* Update homeassistant/components/keba/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>
2019-08-19 14:29:26 +02:00

56 lines
1.9 KiB
YAML

# Describes the format for available services for KEBA charging staitons
request_data:
description: >
Request new data from the charging station.
authorize:
description: >
Authorizes a charging process with the predefined RFID tag of the configuration file.
deauthorize:
description: >
Deauthorizes the running charging process with the predefined RFID tag of the configuration file.
set_energy:
description: Sets the energy target after which the charging process stops.
fields:
energy:
description: >
The energy target to stop charging in kWh. Setting 0 disables the limit.
example: 10.0
set_current:
description: Sets the maximum current for charging processes.
fields:
current:
description: >
The maximum current used for the charging process in A. Allowed are values between
6 A and 63 A. Invalid values are discardedand the default is set to 6 A.
The value is also depending on the DIP-switchsettings and the used cable of the
charging station
example: 16
enable:
description: >
Starts a charging process if charging station is authorized.
disable:
description: >
Stops the charging process if charging station is authorized.
set_failsafe:
description: >
Set the failsafe mode of the charging station. If all parameters are 0, the failsafe mode will be disabled.
fields:
failsafe_timeout:
description: >
Timeout in seconds after which the failsafe mode is triggered, if set_current was not executed during this time.
example: 30
failsafe_fallback:
description: >
Fallback current in A to be set after timeout.
example: 6
failsafe_persist:
description: >
If failsafe_persist is 0, the failsafe option is only until charging station reboot. If failsafe_persist is 1, the failsafe option will survive a reboot.
example: 0