Skip to content

Add manual limit selection to graph header/footer#9126

Merged
balloob merged 7 commits intodevfrom
graph-header-footer-limits
May 7, 2021
Merged

Add manual limit selection to graph header/footer#9126
balloob merged 7 commits intodevfrom
graph-header-footer-limits

Conversation

@thomasloven
Copy link
Copy Markdown
Contributor

@thomasloven thomasloven commented May 7, 2021

Proposed change

Add a manual y-limit selection to graph header/footer and sensor cards.

type: sensor
entity: sensor.temperature2
graph: line
detail: 2
hours_to_show: 1
limits:
  min: 0
  max: 30
name: 'Manual limits [0,30]'

Default limits still automatically fit the data unless any unit_of_measurement is %. Then the default are 0-100.

No GUI editor.

image

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

Edit 2021-07-18:

A bit of background and discussion can be found on discord, starting here and continuing a few dozen messages: https://discord.com/channels/330944238910963714/351047592588869643/837837258743873577

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Copy link
Copy Markdown
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@balloob balloob merged commit d308c5d into dev May 7, 2021
@balloob balloob deleted the graph-header-footer-limits branch May 7, 2021 22:06
@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants