Fixed TuyaDevice init calls
This commit is contained in:
@@ -173,7 +173,7 @@ payload_dict = {
|
||||
|
||||
|
||||
class TuyaDevice(object):
|
||||
def __init__(self, dev_id, address, local_key=None, connection_timeout=10):
|
||||
def __init__(self, dev_id, address, local_key, friendly_name, name = "", connection_timeout=10):
|
||||
"""
|
||||
Represents a Tuya device.
|
||||
|
||||
|
Reference in New Issue
Block a user