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

Add support for Houschen Home Smart Heated Mirror #2681

Merged
merged 3 commits into from
Dec 26, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions custom_components/tuya_local/devices/hauschen_smart_mirror.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Hauschen Home Smart Mirror
products:
- id: aI7d0iudqVMbCkHL
name: 48x36 Mirror
primary_entity:
entity: light
name: Light
Copy link
Owner

Choose a reason for hiding this comment

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

Entity does not need a name that is the same as the default name for its type.

dps:
- id: 1
type: boolean
name: switch
- id: 3
type: integer
name: brightness
optional: true
range:
min: 1
max: 100
- id: 4
type: integer
optional: true
name: color_temp
range:
min: 0
max: 255
mapping:
- target_range:
min: 2700
max: 6500
secondary_entities:
- entity: switch
name: Heater
Copy link
Owner

Choose a reason for hiding this comment

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

Based on the product spec, Demister might be a better description than Heater. It does not seem to be intended for heating a room, only enough heat to prevent condensation buildup.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree heater might not be appropriate. Would Anti-Fog be appropriate (as the term Demister is not commonly used)?

Copy link
Owner

Choose a reason for hiding this comment

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

Yes Anti-fog is also OK.

dps:
- id: 101
type: boolean
optional: true
name: switch
Loading