Skip to content

Commit

Permalink
Update reference.rst
Browse files Browse the repository at this point in the history
Colon mising from light_turned_on function
  • Loading branch information
rodneybetts authored Nov 27, 2023
1 parent 4c001ab commit cfefb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ the keyword catch-all declaration instead:
.. code:: python
@state_trigger("domain.light_level == '255' or domain.light2_level == '0'")
def light_turned_on(**kwargs)
def light_turned_on(**kwargs):
log.info(f"got arguments {kwargs}")
and all those values (including optional ones you specify with the ``kwargs`` argument to
Expand Down

0 comments on commit cfefb61

Please sign in to comment.