Add tests for Broadlink sensors (#39230)

* Add tests for Broadlink sensors

* Remove sensor.py from .coveragerc
This commit is contained in:
Felipe Martins Diel authored and GitHub committed 2020-08-26 22:43:17 -05:00
1 parent 195d4b6897
commit e4d29bf3ec
3 files changed
+317 -1

No files matched your search

+30
View File
@@ -6,6 +6,16 @@ from tests.common import MockConfigEntry
# Do not edit/remove. Adding is ok.
BROADLINK_DEVICES = {
"Entrance": (
"192.168.0.11",
"34ea34befc25",
"RM mini 3",
"Broadlink",
"RM2",
0x2737,
57,
8,
),
"Living Room": (
"192.168.0.12",
"34ea34b43b5a",
@@ -26,6 +36,26 @@ BROADLINK_DEVICES = {
20025,
7,
),
"Garage": (
"192.168.0.14",
"34ea34c43f31",
"RM4 pro",
"Broadlink",
"RM4",
0x6026,
52,
4,
),
"Bedroom": (
"192.168.0.15",
"34ea34b45d2c",
"e-Sensor",
"Broadlink",
"A1",
0x2714,
20025,
5,
),
}