File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,23 @@ The package is available in the [Python Package Index](https://pypi.python.org/)
3131```
3232
3333## Example usage of the module
34- The sample below shows how to use this Python module.
34+ The sample below shows how to use this Python module (api for wpm heat pumps).
35+
36+ ``` python
37+ from pystiebeleltron.wpm import WpmStiebelEltronAPI, WpmSystemParametersRegisters
38+
39+ api = WpmStiebelEltronAPI(' IP_ADDRESS_ISG' )
40+ await api.connect()
41+
42+ await api.async_update()
43+
44+ print (" water comfort target temperature: {} " .format(api.get_register_value(WpmSystemParametersRegisters.COMFORT_TEMPERATURE )))
45+
46+ await api.close()
47+ ```
48+
49+ ## Example usage of the module
50+ The sample below shows how to use this Python module (old api for lwz heat pumps).
3551
3652``` python
3753 from pystiebeleltron import pystiebeleltron as pyse
You can’t perform that action at this time.
0 commit comments