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

Create Water_heater_20A_smart_switch #2977

Closed
wants to merge 1 commit into from

Conversation

khalil212002
Copy link

Adding WB-Smart Switch1 device with product id dcqi7rv16ft3oneb
Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:415
integration: Tuya Local (documentation, issues)
First occurred: 3:51:48 PM (1 occurrences)
Last logged: 3:51:48 PM

Device specification: [{"id": 1, "name": "switch_1", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 7, "name": "countdown_1", "type": "Integer", "format": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}", "enumMap": {}}, {"id": 16, "name": "switch_backlight", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 14, "name": "relay_status", "type": "Enum", "format": "{"range":["power_on","power_off","last"]}", "enumMap": {"0": {"code": "relay_status", "value": "power_off"}, "1": {"code": "relay_status", "value": "power_on"}, "2": {"code": "relay_status", "value": "last"}}}]

make-all added a commit that referenced this pull request Feb 24, 2025
- add alternate power_off/power_on/last mappings for initial state.
- make these the default, as #253 also listed these though the dp was missing
  in the logs.

PR #2977
@make-all
Copy link
Owner

Merged with somgom_single_switch config

@make-all make-all closed this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants