File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ def update_attribute_cache(cluster: zigpy.zcl.Cluster) -> None:
111
111
attrs .append (make_attribute (attrid , value ))
112
112
113
113
hdr = make_zcl_header (zcl_f .GeneralCommand .Report_Attributes )
114
- hdr .frame_control . disable_default_response = True
114
+ hdr .frame_control = hdr . frame_control . replace ( disable_default_response = True )
115
115
msg = zcl_f .GENERAL_COMMANDS [zcl_f .GeneralCommand .Report_Attributes ].schema (
116
116
attribute_reports = attrs
117
117
)
@@ -150,7 +150,7 @@ async def send_attributes_report(
150
150
)
151
151
152
152
hdr = make_zcl_header (zcl_f .GeneralCommand .Report_Attributes )
153
- hdr .frame_control . disable_default_response = True
153
+ hdr .frame_control = hdr . frame_control . replace ( disable_default_response = True )
154
154
cluster .handle_message (hdr , msg )
155
155
await zha_gateway .async_block_till_done ()
156
156
You can’t perform that action at this time.
0 commit comments