Skip to content
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

Implement a "fixed" sensor #18

Open
TheTinkerDad opened this issue May 29, 2023 · 1 comment · May be fixed by #17
Open

Implement a "fixed" sensor #18

TheTinkerDad opened this issue May 29, 2023 · 1 comment · May be fixed by #17
Labels
enhancement New feature or request roadmap Roadmap item, to be implemented in an upcoming version. v0.3.0

Comments

@TheTinkerDad
Copy link
Owner

Sometimes it makes sense to return a fixed value to Home Assistant - this could be for something like a debug sensor or a configuration that doesn't really change on the monitored device.

It should be something like

    - name: My Fixed Sensor
      kind: fixed
      sensorid: myfixedsensor
      script: ""
      unitofmeasurement: ""
      icon: mdi:wrench-check
      value: Whatever You Want

@TheTinkerDad TheTinkerDad linked a pull request May 29, 2023 that will close this issue
@TheTinkerDad TheTinkerDad added enhancement New feature or request roadmap Roadmap item, to be implemented in an upcoming version. v0.3.0 labels May 29, 2023
@felipemarinho97
Copy link

Isn't "Constant" a better name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roadmap Roadmap item, to be implemented in an upcoming version. v0.3.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants