Switch valves¶
API Endpoints to retrieve the switch valve data.
Examples:
>>> client = KebaKeEnergyAPI(
>>> host="ap4400.local",
>>> username="test",
>>> password="test",
>>> ssl=True,
>>> skip_ssl_verification=True
>>> )
>>> client.switch_valve.get_position()
get_position(position=1, *, human_readable=True)
async
¶
Get switch valve position.
| PARAMETER | DESCRIPTION |
|---|---|
position
|
The number of the switch valves
TYPE:
|
human_readable
|
Return a human-readable string
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
integer or string
|
(0) NEUTRAL / (1) OPEN / (2) CLOSED |