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

New device - Akai Heat Pump Dryer #1266

Merged
merged 2 commits into from
Nov 25, 2023

Conversation

YodaDaCoda
Copy link
Contributor

I can't find an example of a Dryer entity anywhere (neither in HASS or this project), so hopefully the way I've set this device up makes sense.

The modes can be selected and the device can be started.

UX doesn't feel quite right - i feel like selecting a drying mode should fire off the 'start' DP (unless the selected mode is 'off').

image

Fixes #1265

custom_components/tuya_local/devices/akai_dryer.yaml Outdated Show resolved Hide resolved
- dps_val: "Sportswear"
value: "Sportswear"
- entity: select
class: enum
Copy link
Owner

Choose a reason for hiding this comment

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

select entity does not have an enum class

name: button # start
type: boolean
- entity: select
class: enum
Copy link
Owner

Choose a reason for hiding this comment

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

select entity does not have an enum class.

- id: 103
name: switch # anti_crease
type: boolean
- entity: switch
Copy link
Owner

Choose a reason for hiding this comment

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

Maybe better as a lock entity (similar to child locks)

- id: 4
name: sensor # drying_time_left
type: integer
unit: min
Copy link
Owner

Choose a reason for hiding this comment

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

There should be a newline at the end of the file. I'm not sure if the yaml parser built into Home Assistant requires it, but in general it will avoid issues with the last line not being properly parsed, which is why the POSIX standard specifies that text files should end in a newline, and most language definitions follow that even if the compilers and interpreters are lenient on that point.

- remove unsupported class from select entities
- add duration class to time sensors
- add icons to entities
- naming convention changes, clarification
@make-all make-all merged commit 3a74332 into make-all:main Nov 25, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Request support for Akai Heat Pump Dryer
2 participants