Skip to content

Commit

Permalink
Document host time (#3909)
Browse files Browse the repository at this point in the history
  • Loading branch information
clydebarrow authored Jun 4, 2024
1 parent bb460cd commit a2fbd43
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/host.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HOST Platform
Host Platform
=============

.. seo::
Expand Down Expand Up @@ -35,4 +35,5 @@ See Also
--------

- :doc:`esphome`
- :doc:`/components/time/host`
- :ghedit:`Edit`
21 changes: 21 additions & 0 deletions components/time/host.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Host Time Source
================

.. code-block:: yaml
# Example configuration entry
time:
- platform: host
id: sntp_time
timezone: Europe/Sofia
Configuration variables
-----------------------

All options from :ref:`base_time_config`.

See Also
--------

- :doc:`/components/host`
- :ghedit:`Edit`

0 comments on commit a2fbd43

Please sign in to comment.