Skip to content

Commit

Permalink
cli: add stats output
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
  • Loading branch information
hthiery committed Oct 1, 2018
1 parent da334b5 commit 121d53c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyfritzhome/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def device_presence(fritz, args):

def device_statistic(fritz, args):
"""Command that prints the device presence."""
fritz.get_device_statistic(args.ain)
stats = fritz.get_device_statistic(args.ain)
print(stats)


def switch_get(fritz, args):
Expand Down

0 comments on commit 121d53c

Please sign in to comment.