Skip to content

Commit 1a1b96f

Browse files
Cosmetic: make @mqtt_trigger example ids consistent
The previous naming scheme was inconsistent.
1 parent 37aad44 commit 1a1b96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ must be set up to use ``@mqtt_trigger``.
800800

801801
.. code:: python
802802
803-
@mqtt_trigger('zigbee2mqtt/carport/motion', "payload_obj['occupancy'] != None")
803+
@mqtt_trigger('zigbee2mqtt/motion.carport', "payload_obj['occupancy'] != None")
804804
@time_active("range(sunset - 30m, sunrise - 30m)")
805805
def carport_motion():
806806
light.turn_on(entity_id="light.carport")

0 commit comments

Comments
 (0)