Skip to content

Commit

Permalink
Avoid forwarding objects in values (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
elupus authored Apr 24, 2024
1 parent dbff7d9 commit 3ec3b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RFXtrx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def __init__(self, pkt):
self.values = {}
self.pkt = pkt
if isinstance(pkt, lowlevel.Undecoded):
self.values['Payload'] = pkt.payload
self.values['Payload'] = pkt.payload.hex()
if isinstance(pkt, lowlevel.RfxMeter):
self.values['Counter value'] = pkt.value
if isinstance(pkt, (lowlevel.Temp, lowlevel.TempHumid,
Expand Down

0 comments on commit 3ec3b59

Please sign in to comment.