Skip to content

add relative time option to simulated sensors #5223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2018

Conversation

Shou
Copy link
Contributor

@Shou Shou commented Apr 21, 2018

Description:

This is the documentation for the change outlined below.

By default simulated sensors are relative to when they're activated,
instead we change this default to a new toggleable option,
'relative_to_epoch', and instead they become 'absolute', or relative
to 1970-01-01 00:00:00.

Pull request in home-assistant (if applicable): home-assistant/core#14038

Checklist:

  • Branch: Fixes, changes and adjustments should be created against current. New documentation for platforms/components and features should go to next.
  • The documentation follow the standards.

This is the documentation for the change outlined below.

By default simulated sensors are relative to when they're activated,
instead we change this default to a new toggleable option,
'relative_to_epoch', and instead they become 'absolute', or relative
to 1970-01-01 00:00:00.
@balloob balloob merged commit 798cc33 into home-assistant:next Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants