Skip to content

Commit eb5c282

Browse files
authored
Merge pull request #680 from larsimmisch/immisch/example-consistency
Cosmetic: make @mqtt_trigger example ids consistent
2 parents 37aad44 + 1a1b96f commit eb5c282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference.rst

+1-1
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)