Skip to content

Commit

Permalink
test_output: Fix type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Mar 26, 2022
1 parent 315b608 commit ad494dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@

import asyncio

from omnikinverter import OmnikInverter
from omnikinverter import Device, Inverter, OmnikInverter


async def main():
async def main() -> None:
"""Test."""
async with OmnikInverter(
host="examples.com",
source_type="javascript",
) as client:
inverter: OmnikInverter = await client.inverter()
device: OmnikInverter = await client.device()
inverter: Inverter = await client.inverter()
device: Device = await client.device()
print(inverter)
print()
print("-- INVERTER --")
Expand Down

0 comments on commit ad494dd

Please sign in to comment.