Skip to content

Commit

Permalink
Merge pull request #680 from larsimmisch/immisch/example-consistency
Browse files Browse the repository at this point in the history
Cosmetic: make @mqtt_trigger example ids consistent
  • Loading branch information
craigbarratt authored Jan 14, 2025
2 parents 37aad44 + 1a1b96f commit eb5c282
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 @@ -800,7 +800,7 @@ must be set up to use ``@mqtt_trigger``.

.. code:: python
@mqtt_trigger('zigbee2mqtt/carport/motion', "payload_obj['occupancy'] != None")
@mqtt_trigger('zigbee2mqtt/motion.carport', "payload_obj['occupancy'] != None")
@time_active("range(sunset - 30m, sunrise - 30m)")
def carport_motion():
light.turn_on(entity_id="light.carport")
Expand Down

0 comments on commit eb5c282

Please sign in to comment.