Skip to content

Commit

Permalink
Cosmetic: make @mqtt_trigger example ids consistent
Browse files Browse the repository at this point in the history
The previous naming scheme was inconsistent.
  • Loading branch information
larsimmisch-adobe committed Jan 13, 2025
1 parent 37aad44 commit 1a1b96f
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 1a1b96f

Please sign in to comment.