Skip to content

Commit

Permalink
Reference #6 in README for code example
Browse files Browse the repository at this point in the history
  • Loading branch information
dreautall authored Sep 9, 2023
1 parent 04245e7 commit f4ed610
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ for installation in sn.get_installations():
await sn.close_connection()
```

*The example needs to run in an async context, please see [issue #6](https://github.com/dreautall/stromnetzgraz/issues/6) for an example if you want to run it standalone.*

An `installation` is usually an house or apartment with an individual address and may contain multiple meters (for example a second meter for a hot water boiler). A `meter` is the actual single meter.

Stromnetz Graz assigns individual numerical IDs to both `installation`s and `meter`s. The usually used meter number (33 characters usually starting with `AT00`) is available as attributes (`meter._name` & `meter._short_name`).
Expand Down

0 comments on commit f4ed610

Please sign in to comment.