Add OWON WSP404 Smart Plug to Home Assistant MQTT (#4260)

Device with switch, power sensor and energy measurements entities.
This commit is contained in:
embak 2020-09-04 11:30:00 -04:00 committed by GitHub
parent 48b502714e
commit 84029e2057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1923,6 +1923,7 @@ const mapping = {
'SR-ZG9001T4-DIM-EU': [cfg.sensor_action],
'929002335001': [cfg.light_brightness],
'43084': [cfg.switch],
'WSP404': [cfg.switch, cfg.sensor_power, cfg.sensor_energy],
};
const defaultStatusTopic = 'homeassistant/status';