Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e18e455

Browse files
Add MQTT retain flag handling to pyscript trigger and message handler
Adds the `retain` flag to `TRIGGER_KWARGS` in pyscript's `eval.py` to prevent a TypeError with mqtt_trigger.
1 parent 46809fa commit e18e455

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎custom_components/pyscript/eval.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"payload",
7171
"payload_obj",
7272
"qos",
73+
"retain",
7374
"topic",
7475
"trigger_type",
7576
"trigger_time",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /