remove linespaces
This commit is contained in:
parent
7edbd0c51a
commit
8cab38a3b5
|
@ -56,7 +56,6 @@ Some widgets integrate also as native ESPHome components:
|
|||
* - ``led``
|
||||
- :doc:`Light </components/light/lvgl>`
|
||||
|
||||
|
||||
These are useful to make :ref:`automations <automation>` triggered by actions performed at the screen.
|
||||
|
||||
Main Configuration
|
||||
|
@ -321,7 +320,6 @@ In the example below, you defined ``date_style``:
|
|||
radius: 4
|
||||
pad_all: 2
|
||||
|
||||
|
||||
And then you apply these selected styles to two labels, and only change very specific stlye ``y`` locally:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
@ -1381,7 +1379,6 @@ By default, the Line widget width and height dimensions are set to ``size_conten
|
|||
line_color: 0x0000FF
|
||||
line_rounded: true
|
||||
|
||||
|
||||
.. _lvgl-wgt-led:
|
||||
|
||||
``led``
|
||||
|
@ -1704,7 +1701,6 @@ This :ref:`action <config-action>` redraws the entire screen, or optionally only
|
|||
then:
|
||||
- lvgl.widget.redraw:
|
||||
|
||||
|
||||
.. _lvgl-pause-act:
|
||||
|
||||
``lvgl.pause``
|
||||
|
@ -1721,7 +1717,6 @@ This :ref:`action <config-action>` pauses the activity of LVGL, including render
|
|||
- lvgl.pause:
|
||||
show_snow: true
|
||||
|
||||
|
||||
.. _lvgl-resume-act:
|
||||
|
||||
``lvgl.resume``
|
||||
|
@ -1759,7 +1754,6 @@ This :ref:`action <config-action>` changes page to the next following in the con
|
|||
animation: OUT_RIGHT
|
||||
time: 300ms
|
||||
|
||||
|
||||
.. _lvgl-pgsh-act:
|
||||
|
||||
``lvgl.page.show``
|
||||
|
@ -1771,7 +1765,6 @@ This :ref:`action <config-action>` shows a specific page (even the ones with ``s
|
|||
- **animation** (*Optional*): The page change with one of these animations: ``NONE``, ``OVER_LEFT``, ``OVER_RIGHT``, ``OVER_TOP``, ``OVER_BOTTOM``, ``MOVE_LEFT``, ``MOVE_RIGHT``, ``MOVE_TOP``, ``MOVE_BOTTOM``, ``FADE_IN``, ``FADE_OUT``, ``OUT_LEFT``, ``OUT_RIGHT``, ``OUT_TOP``, ``OUT_BOTTOM``. Defaults to ``NONE`` if not specified.
|
||||
- **time** (*Optional*, :ref:`Time <config-time>`): Duration of the page change animation. Defaults to ``50ms``.
|
||||
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
on_...:
|
||||
|
@ -1783,7 +1776,6 @@ This :ref:`action <config-action>` shows a specific page (even the ones with ``s
|
|||
then:
|
||||
- lvgl.page.show: secret_page # shorthand version
|
||||
|
||||
|
||||
Conditions
|
||||
----------
|
||||
|
||||
|
@ -1809,7 +1801,6 @@ This :ref:`condition <config-condition>` checks if since the last touch event, t
|
|||
id: display_backlight
|
||||
transition_length: 3s
|
||||
|
||||
|
||||
.. _lvgl-paused-cond:
|
||||
|
||||
``lvgl.is_paused``
|
||||
|
@ -1898,7 +1889,6 @@ The ``on_idle`` :ref:`triggers <automation>` are activated when inactivity time
|
|||
- light.turn_off: display_backlight
|
||||
- lvgl.pause:
|
||||
|
||||
|
||||
See :ref:`lvgl-cook-idlescreen` example how to implement screen saving with idle settings.
|
||||
|
||||
.. _lvgl-seealso:
|
||||
|
|
|
@ -90,7 +90,6 @@ In case your local light implements as a different platform than GPIO, you can u
|
|||
on_click:
|
||||
light.toggle: room_light
|
||||
|
||||
|
||||
.. _lvgl-cook-binent:
|
||||
|
||||
Remote light button
|
||||
|
@ -622,7 +621,6 @@ Since LVGL uses inheritance to apply styles across the widgets, it's possible to
|
|||
|
||||
In this example we prepare a set of gradient styles in the *theme*, and make some modifications in a *style_definition* which can be applied in a batch to the desired widgets. Theme is applied automatically, and can be overridden manually with style definitions (read further to see how).
|
||||
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
lvgl:
|
||||
|
@ -937,7 +935,6 @@ In the example below we use the default set of glyphs from RobotoCondensed-Regul
|
|||
text_align: center
|
||||
text_font: roboto_icons_42
|
||||
|
||||
|
||||
.. tip::
|
||||
|
||||
Follow these steps to choose your MDI icons:
|
||||
|
@ -947,7 +944,6 @@ In the example below we use the default set of glyphs from RobotoCondensed-Regul
|
|||
- To use the desired icon, prepend the copied codepoint with ``\U000``. The unicode character escape sequence has to start with capital ``\U`` and have exactly 8 hexadecimal digits.
|
||||
- To translate the escape sequence into the real glyph, make sure you enclose your strings in double quotes.
|
||||
|
||||
|
||||
.. _lvgl-cook-iconstat:
|
||||
|
||||
Toggle state icon button
|
||||
|
@ -1505,7 +1501,6 @@ LVGL has a notion of screen inactivity, i.e. how long did the user not interact
|
|||
step: 5
|
||||
mode: box
|
||||
|
||||
|
||||
.. _lvgl-cook-antiburn:
|
||||
|
||||
Prevent burn-in of LCD
|
||||
|
|
Loading…
Reference in New Issue