diff options
| author | Scott <[email protected]> | 2022-01-07 11:14:29 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-07 11:14:29 -0800 |
| commit | e8671a716da868332d3ac1f66d4d2f7f8d33fc28 (patch) | |
| tree | b62a841528cfc3bc64963666143083fcdac7c975 /smart_home | |
| parent | 5f75cf834725ac26b289cc5f157af0cb71cd5f0e (diff) | |
Make logging optionally remove global handlers added by (shitty) pip
modules. Make config optionally halt on unrecognized arguments.
Make profanity filter smarter.
Diffstat (limited to 'smart_home')
| -rw-r--r-- | smart_home/outlets.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/smart_home/outlets.py b/smart_home/outlets.py index 68dfd2b..8fd0948 100644 --- a/smart_home/outlets.py +++ b/smart_home/outlets.py @@ -238,13 +238,13 @@ class GoogleOutlet(BaseOutlet): @decorator_utils.singleton class MerossWrapper(object): - """Note that instantiating this class causes HTTP traffic with an - external Meross server. Meross blocks customers who hit their - servers too aggressively so MerossOutlet is lazy about creating - instances of this class. + """Global singleton helper class for MerossOutlets. Note that + instantiating this class causes HTTP traffic with an external + Meross server. Meross blocks customers who hit their servers too + aggressively so MerossOutlet is lazy about creating instances of + this class. """ - def __init__(self): self.loop = asyncio.get_event_loop() self.email = os.environ.get('MEROSS_EMAIL') or scott_secrets.MEROSS_EMAIL |
