Switch tests to use hass objects instead of direct (#37530)
* Switch tests to use hass objects instead of direct * Make sure sensor update state * Add some initial binary sensor tests * Add initial binary sensor tests * Add tests for pt2262 * Add test for off delay
This commit is contained in:
parent
3ad59f877c
commit
01fd33f173
11 changed files with 640 additions and 548 deletions
|
@ -175,6 +175,8 @@ def get_rfx_object(packetid):
|
|||
obj = rfxtrxmod.StatusEvent(pkt)
|
||||
else:
|
||||
obj = rfxtrxmod.ControlEvent(pkt)
|
||||
|
||||
obj.data = binarypacket
|
||||
return obj
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue