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

Water device class is missing when creating a sensor #733

Closed
gszigethy opened this issue Nov 3, 2022 · 2 comments · Fixed by #734
Closed

Water device class is missing when creating a sensor #733

gszigethy opened this issue Nov 3, 2022 · 2 comments · Fixed by #734

Comments

@gszigethy
Copy link

Describe the bug

In HA release 2022.11 water usage has been introduced. When I create a sensor in node red, th device_class water is missing from the dropdown list.

To Reproduce

  1. Go to node red.
  2. Create a new sensor.
  3. In the Entity config create a new entity.
  4. Pick type: sensor.
  5. In device class dropdown water device class is missing.

Expected behavior

  1. Go to node red.
  2. Create a new sensor.
  3. In the Entity config create a new entity.
  4. Pick type: sensor.
  5. In device class dropdown water device class should be available. All device classes listed in the next link should be visible: https://www.home-assistant.io/integrations/sensor/

Screenshots

image

Example Flow

No response

This package's version (not the Home Assistant add-on version)

0.46.2

Is Node-RED running in Docker?

Home Assistant add-on

Node-RED version

Node red add-on v13.5.1

Node.js version

Node red add-on v13.5.1

Additional context

No response

@zachowj zachowj closed this as completed in 4e05721 Nov 3, 2022
@schejbity
Copy link

Hi,
how do I force the Node-RED addon on HA to load this modification?

Thx.

@zachowj
Copy link
Owner

zachowj commented Nov 8, 2022

You would need to use npm_packages in the add-on config.

node-red-contrib-home-assistant-weboscket@next

or the exact tag

[email protected]

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 a pull request may close this issue.

3 participants