8000 Add P304M(UK) test fixture (#1185) · python-kasa/python-kasa@c051e75 · GitHub
[go: up one dir, main page]

Skip to content

Commit c051e75

Browse files
authored
Add P304M(UK) test fixture (#1185)
P304M supports energy monitoring on child SMART devices.
1 parent 5161115 commit c051e75

File tree

4 files changed

+2267
-3
lines changed

4 files changed

+2267
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ The following devices have been tested and confirmed as working. If your device
190190
### Supported Tapo<sup>\*</sup> devices
191191

192192
- **Plugs**: P100, P110, P115, P125M, P135, TP15
193-
- **Power Strips**: P300, TP25
193+
- **Power Strips**: P300, P304M, TP25
194194
- **Wall Switches**: S500D, S505, S505D
195195
- **Bulbs**: L510B, L510E, L530E
196196
- **Light Strips**: L900-10, L900-5, L920-5, L930-5
8000

SUPPORTED.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ All Tapo devices require authentication.<br>Hub-Connected Devices may work acros
185185
- Hardware: 1.0 (EU) / Firmware: 1.0.13
186186
- Hardware: 1.0 (EU) / Firmware: 1.0.15
187187
- Hardware: 1.0 (EU) / Firmware: 1.0.7
188+
- **P304M**
189+
- Hardware: 1.0 (UK) / Firmware: 1.0.3
188190
- **TP25**
189191
- Hardware: 1.0 (US) / Firmware: 1.0.2
190192

kasa/tests/device_fixtures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
}
109109
SWITCHES = {*SWITCHES_IOT, *SWITCHES_SMAR 8EBF T}
110110
STRIPS_IOT = {"HS107", "HS300", "KP303", "KP200", "KP400", "EP40"}
111-
STRIPS_SMART = {"P300", "TP25"}
111+
STRIPS_SMART = {"P300", "P304M", "TP25"}
112112
STRIPS = {*STRIPS_IOT, *STRIPS_SMART}
113113

114114
DIMMERS_IOT = {"ES20M", "HS220", "KS220M", "KS230", "KP405"}
@@ -123,7 +123,7 @@
123123
THERMOSTATS_SMART = {"KE100"}
124124

125125
WITH_EMETER_IOT = {"HS110", "HS300", "KP115", "KP125", *BULBS_IOT}
126-
WITH_EMETER_SMART = {"P110", "P115", "KP125M", "EP25"}
126+
WITH_EMETER_SMART = {"P110", "P115", "KP125M", "EP25", "P304M"}
127127
WITH_EMETER = {*WITH_EMETER_IOT, *WITH_EMETER_SMART}
128128

129129
DIMMABLE = {*BULBS, *DIMMERS}

0 commit comments

Comments
 (0)
0