Fix Hardware list (#1490)

This commit is contained in:
Pascal Vizeli
2020-02-07 18:30:39 +01:00
committed by GitHub
parent a65d3222b9
commit fcdd66dc6e
2 changed files with 19 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
"""Test hardware utils."""
from hassio.misc.hardware import Hardware
def test_read_all_devices():
"""Test to read all devices."""
system = Hardware()
assert system.devices