diff --git a/components/deep_sleep.rst b/components/deep_sleep.rst index a1682868b..317b6d40d 100644 --- a/components/deep_sleep.rst +++ b/components/deep_sleep.rst @@ -103,11 +103,11 @@ Useful for You can use this automation to automatically prevent deep sleep when a MQTT message on the topic ``livingroom/ota_mode`` is received. Then, to do the OTA update, just - use a MQTT client to publish a retained MQTT message described above. When the node wakes up again + use a MQTT client to publish a retained MQTT message described below. When the node wakes up again it will no longer enter deep sleep mode and you can upload your OTA update. Remember to turn "OTA mode" off again after the OTA update by sending a MQTT message with the payload - ``OFF``. + ``OFF``. Note that the device won't enter deep sleep again until the next reboot. .. code-block:: yaml @@ -118,6 +118,7 @@ Useful for # ... on_message: topic: livingroom/ota_mode + payload: 'ON' then: - deep_sleep.prevent: deep_sleep_1