Skip to content

Commit

Permalink
more logging cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 committed Nov 26, 2023
1 parent 6fb4ee3 commit bc8af66
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions intercom_2n/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#########################################################################
import json

import logging
import os
from time import sleep
import requests
Expand All @@ -44,7 +43,6 @@ def __init__(self, **kwargs):
self._password = self.get_parameter_value('password')
self.is_stopped = False
self.sid = None
self._logger = logging.getLogger(__name__)
self.event_timeout = 30
self.ip_cam = IPCam(self._intercom_ip, ssl=self._ssl, auth_type=self._auth_type, user=self._username, password=self._password)

Expand Down
2 changes: 0 additions & 2 deletions rcswitch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# along with SmartHomeNG. If not, see <http://www.gnu.org/licenses/>.
#########################################################################

import logging
from lib.model.smartplugin import SmartPlugin
from socket import gethostname
import time
Expand All @@ -36,7 +35,6 @@ class RCswitch(SmartPlugin):
PLUGIN_VERSION = "1.2.2"

def __init__(self, **kwargs):
self.logger = logging.getLogger(__name__)
self.setupOK = True
self.mapping = {'a': 1, 'A': 1, 'b': 2, 'B': 2, 'c': 3, 'C': 3, 'd': 4, 'D': 4, 'e': 5, 'E': 5}
self.rcswitch_dir = self.get_parameter_value('rcswitch_dir')
Expand Down
2 changes: 0 additions & 2 deletions smarttv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# along with SmartHomeNG. If not, see <http://www.gnu.org/licenses/>.
#

import logging
import socket
import time
import base64
Expand All @@ -34,7 +33,6 @@ class SmartTV(SmartPlugin):
PLUGIN_VERSION = "1.3.3"

def __init__(self, **kwargs):
self.logger = logging.getLogger(__name__)
self._tv_version = self.get_parameter_value('tv_version')
self._host = self.get_parameter_value('host')
self._port = self.get_parameter_value('port')
Expand Down

0 comments on commit bc8af66

Please sign in to comment.