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

mqtt.number not accepting unit_of_measurement #2290

Closed
leowinterde opened this issue Sep 22, 2022 · 1 comment · Fixed by #2390
Closed

mqtt.number not accepting unit_of_measurement #2290

leowinterde opened this issue Sep 22, 2022 · 1 comment · Fixed by #2390
Labels

Comments

@leowinterde
Copy link

mqtt:
  number:
    - name: evcc_min_current
      unique_id: uniqueid__evcc_min_current
      icon: mdi:current-ac
      state_topic: "evcc/loadpoints/1/minCurrent"
      command_topic: "evcc/loadpoints/1/minCurrent/set"
      availability_topic: "evcc/status"
      min: 6
      max: 16
      step: 0.25
      unit_of_measurement: A

bug

@frenck
Copy link
Collaborator

frenck commented Dec 14, 2022

Thanks, @leowinterde 👍

I've opened up a PR to add the property to the validation. It should be in the next release of the extension.

../Frenck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants