diff --git a/cookbook/display_time_temp_oled.rst b/cookbook/display_time_temp_oled.rst index 921de9ae1..36c73a1fd 100644 --- a/cookbook/display_time_temp_oled.rst +++ b/cookbook/display_time_temp_oled.rst @@ -128,7 +128,7 @@ Note your ``address`` and ``model`` might be different, use the scan option to f Rendering --------- -- Alignment of text can use different reference points, for example ``TOP_RIGHT`` or ``BASELINE_LEFT``, which all are defined in :doc:`/api/display_8h.html `. +- Alignment of text can use different reference points, for example ``TOP_RIGHT`` or ``BASELINE_LEFT``, which all are defined in :apiref:`display/display.h`. - The property ``has_state()`` on a sensor is useful as it can take some seconds to get the data from Home Assistant and you may not want to display ``Nan`` - Refer to the rendering engine :ref:`display-engine` for more features (it can draw lines and circles too!)