Skip to content

Commit

Permalink
add more log to error message
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 authored Oct 25, 2023
1 parent 031d187 commit 7ef8761
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/tuyaTS0601.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def ts0601_actuator( self, NwkId, command, value=None):

dps_mapping = ts0601_extract_data_point_infos( self, model_name)
if dps_mapping is None:
self.log.logging("Tuya0601", "Error", "ts0601_actuator - No DPS stanza in config file for %s %s" %(NwkId, command))
self.log.logging("Tuya0601", "Error", "ts0601_actuator - No DPS stanza in config file for %s %s %s" %(
NwkId, model_name, command))
return False

if command not in DP_ACTION_FUNCTION and command not in TS0601_COMMANDS:
Expand Down

0 comments on commit 7ef8761

Please sign in to comment.