diff --git a/cookbook/display_time_temp_oled.rst b/cookbook/display_time_temp_oled.rst index a92f6ba32..1a5e9a74a 100644 --- a/cookbook/display_time_temp_oled.rst +++ b/cookbook/display_time_temp_oled.rst @@ -129,7 +129,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 :apiref:`display/display.h`. +- Alignment of text can use different reference points, for example ``TOP_RIGHT`` or ``BASELINE_LEFT``, which all are defined in :apiref:`display/display_buffer.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!)