Merge branch 'current' into beta

This commit is contained in:
Jesse Hills 2024-07-17 14:54:40 +12:00
commit 52947fac54
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
2 changed files with 11 additions and 12 deletions

View File

@ -17,14 +17,13 @@ than compiling for and flashing a microcontroller target system.
.. code-block:: yaml .. code-block:: yaml
# Example configuration entry # Example configuration entry
esphome:
name: sdl
host: host:
mac_address: "62:23:45:AF:B3:DD"
display: display:
- platform: sdl - platform: sdl
id: sdl_display
update_interval: 1s
auto_clear_enabled: false
show_test_card: true show_test_card: true
dimensions: dimensions:
width: 450 width: 450
@ -95,13 +94,7 @@ Linux instructions above. See https://learn.microsoft.com/en-us/windows/wsl/inst
Build and run Build and run
------------- -------------
The ``esphome`` command will not automatically run the build file on the ``host`` platform. Instead use ``esphome compile yourfile.yaml`` The ``esphome run yourfile.yaml`` command will compile and automatically run the build file on the ``host`` platform.
then locate the executable file called ``program`` within the ``.esphome`` build tree:
.. code-block:: sh
`find .esphome -name program`
See Also See Also
-------- --------

View File

@ -23,17 +23,23 @@ configure wifi - network will automatically be available using the host computer
# Example configuration entry # Example configuration entry
host: host:
mac_address: "98:35:69:ab:f6:79" mac_address: "06:35:69:ab:f6:79"
Configuration variables: Configuration variables:
------------------------ ------------------------
- **mac_address** (**Optional**, MAC address): A dummy MAC address to use when communicating with HA. - **mac_address** (**Optional**, MAC address): A dummy MAC address to use when communicating with HA.
Build and run
-------------
The ``esphome run yourfile.yaml`` command will compile and automatically run the build file on the ``host`` platform.
See Also See Also
-------- --------
- :ref:`SDL display <sdl>`
- :doc:`esphome` - :doc:`esphome`
- :doc:`/components/time/host` - :doc:`/components/time/host`
- :ghedit:`Edit` - :ghedit:`Edit`