Skip to content

Conversation

@edwinyoo44
Copy link
Contributor

@edwinyoo44 edwinyoo44 commented Nov 8, 2025

This pull request introduces support for the EASTtime D401 Water Purifier by adding a new configuration file. The following features have been implemented:

  • Device Information: Added basic information about the EASTtime D401, including manufacturer and model.
  • Entities: Defined various entities for the water purifier, including:
    • Sensors for TDS In/Out, filter life levels, fault status, and total runtime.
    • Switches for UV sterilization and filter reset functionalities.
    • Buttons for filter cleaning and reset actions.
    • Select options for rinse modes.
  • Data Points (DPS): Mapped the relevant data points for each entity, ensuring accurate data representation and control.
  • Reset Buttons: The reset buttons for RO, CTO, PP, UDF, T33, and MFS filters are set to hidden: true by default to prevent accidental activation.

This addition enhances the functionality of the tuya-local component, allowing users to monitor and control their EASTtime D401 Water Purifier effectively.

Changes Made

  • Created a new YAML configuration file for the EASTtime D401 Water Purifier located at easttime_d401_waterpurifier.yaml.

Testing

  • Ensure that the new device configuration is loaded correctly and that all entities respond as expected.
  • Verify that the data points are accurately reflecting the state of the water purifier.
  • Confirm that the reset buttons remain hidden to avoid accidental activation.

Additional Notes

  • Please review the configuration for any potential improvements or adjustments.
  • Feedback on the entity definitions and mappings is welcome to ensure optimal performance.

u=4250541057,3783933487 fm=224 app=112 f=JPEG

image image

Copilot AI review requested due to automatic review settings November 8, 2025 13:32
@github-project-automation github-project-automation bot moved this to 👀 In review in Tuya Local Nov 8, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for the EASTtime D401 water purifier by introducing a comprehensive device configuration file that maps various Tuya datapoints to Home Assistant entities.

Key Changes:

  • Added complete device configuration with sensors, switches, buttons, and select entities
  • Implemented filter life monitoring for multiple filter types (PP, CTO, RO, UDF, T33, MFS)
  • Configured water quality monitoring with TDS sensors and status indicators

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- dps_val: "mode2"
value: "mode2(Micro Wastewater Flush)"
- dps_val: "mode3"
value: "mode3(Micro Wastewater Pure‑Water Flashing Membrane)"
Copy link

Copilot AI Nov 8, 2025

Choose a reason for hiding this comment

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

Spelling error: The hyphen in "Pure‑Water" appears to be a non-standard character (U+2011 non-breaking hyphen). Consider using a standard hyphen "-" for consistency, or consider rephrasing to "Pure Water" without a hyphen for better readability.

Suggested change
value: "mode3(Micro Wastewater PureWater Flashing Membrane)"
value: "mode3(Micro Wastewater Pure-Water Flashing Membrane)"

Copilot uses AI. Check for mistakes.
max: 999

- entity: sensor
name: PP Fliter Life Level
Copy link

Copilot AI Nov 8, 2025

Choose a reason for hiding this comment

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

Spelling error: "Fliter" should be "Filter" to maintain consistency with other filter names in the configuration.

Suggested change
name: PP Fliter Life Level
name: PP Filter Life Level

Copilot uses AI. Check for mistakes.
@edwinyoo44
Copy link
Contributor Author

edwinyoo44 commented Nov 9, 2025

Regarding the meaning of each Rinse Mode, the manufacturer explained the differences between modes 1-3 for this model.

Screenshot_20251109-140627.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

1 participant