Skip to content

Commit

Permalink
Fix send events in server state variable (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenLooman authored Sep 1, 2024
1 parent 99a3e1a commit b7eed77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion async_upnp_client/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def create_state_var(

state_var_info = StateVariableInfo(
name,
send_events=False,
send_events=isinstance(type_info, EventableStateVariableTypeInfo),
type_info=type_info,
xml=ET.Element("stateVariable"),
)
Expand Down
1 change: 1 addition & 0 deletions changes/242.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix send_events in server state variable.

0 comments on commit b7eed77

Please sign in to comment.