Minor wording update for duty_time.rst (#4008)

This commit is contained in:
Ian Wells 2024-06-30 18:02:03 -07:00 committed by GitHub
parent 90757f4ab9
commit 8c1aef40f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,13 +2,13 @@ Duty Time
=========
.. seo::
:description: Instructions for setting up a sensor that tracks the duty time of the some object.
:description: Instructions for setting up a sensor that tracks the duty time of some object.
:image: timer-play-outline.svg
The ``duty_time`` sensor allows you to track the total duty time of the some object, for example, a light bulb, in seconds.
The ``duty_time`` sensor allows you to track the total duty time of some object, for example, a light bulb, in seconds.
Able to calculate the last turn-on time when an optional sensor ``last_time`` is included in the configuration.
Supports boolean signal sources: ``binary_sensor`` or ``lambda`` that returns a boolean state of tracked object.
Supports boolean signal sources: ``binary_sensor`` or ``lambda`` that returns a boolean state of the tracked object.
As an alternative to controlling a component in automations, may be used the ``sensor.duty_time.start`` and ``sensor.duty_time.stop`` actions.