diff options
| author | Scott <[email protected]> | 2022-01-06 12:13:34 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-06 12:13:34 -0800 |
| commit | 5f75cf834725ac26b289cc5f157af0cb71cd5f0e (patch) | |
| tree | f31baf4247a7d29eb1457a74f75d373d10539237 /smart_home/registry.py | |
| parent | ba223f821df1e9b8abbb6f6d23d5ba92c5a70b05 (diff) | |
A bunch of changes...
Diffstat (limited to 'smart_home/registry.py')
| -rw-r--r-- | smart_home/registry.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/smart_home/registry.py b/smart_home/registry.py index ae57a73..23584e1 100644 --- a/smart_home/registry.py +++ b/smart_home/registry.py @@ -165,6 +165,9 @@ class SmartHomeRegistry(object): else: logger.debug(' ...a TPLinkOutlet') return outlets.TPLinkOutlet(name, mac, kws) + elif 'meross' in kws.lower(): + logger.debug(' ...a MerossOutlet') + return outlets.MerossOutlet(name, mac, kws) elif 'goog' in kws.lower(): logger.debug(' ...a GoogleOutlet') return outlets.GoogleOutlet(name, mac, kws) |
