Skip to content
Discussion options

You must be logged in to vote

Yes, this should be possible! tuya local uses YAML files to map DPs to home assistant entities, so you can add DP 107 by editing the device config directly.. there's no UI for this.

Find the dehumidifier YAML file in config/custom_components/tuya_local/devices/, copy it with a new name, and add something like this:

- entity: sensor
  name: Filter Life
  category: diagnostic
  dps:
    - id: 107
      type: integer
      name: sensor
      unit: "%"
      class: measurement

Save it in the same folder and restart Home Assistant (no need to remove and re add the device)

One thing to be aware of: files in that directory get overwritten when the integration updates via HACS, so you'd need to r…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bravotangoau
Comment options

@daveshenal
Comment options

@bravotangoau
Comment options

Answer selected by bravotangoau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants