Skip to content

Commit

Permalink
Fix send_events in server state variable
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenLooman committed Sep 1, 2024
1 parent 99a3e1a commit 4221cbc
Showing 1 changed file with 1 addition 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

0 comments on commit 4221cbc

Please sign in to comment.