init home-assistant
This commit is contained in:
15
home-assistant/tests/components/ping/const.py
Normal file
15
home-assistant/tests/components/ping/const.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""Constants for tests."""
|
||||
|
||||
from datetime import timedelta
|
||||
|
||||
from icmplib import Host
|
||||
|
||||
BINARY_SENSOR_IMPORT_DATA = {
|
||||
"name": "test2",
|
||||
"host": "127.0.0.1",
|
||||
"count": 1,
|
||||
"scan_interval": 50,
|
||||
"consider_home": timedelta(seconds=240),
|
||||
}
|
||||
|
||||
NON_AVAILABLE_HOST_PING = Host("192.168.178.1", 10, [])
|
||||
Reference in New Issue
Block a user