Air purifier fan speeds

Hi,

I have a Breville Easy Air Purifer connected via Tuya.

Works totally fine with HA and Tuya integration. However the fan speed settings do not appear. I can change the fan speed in the Tuya app, but those entities don’t seem to appear in HA.

All the other settings appear. Just not the fan speeds.

Thanks!

I have been able to add my Breville Air Purifier through tuya-local

Tuya-local is different to local-Tuya. It’s easy to install with HACS.

copy the settings at the bottom of this post into a file called “the_Breville_Easy_Air_purifier.yaml”

then save in the “custom_components\tuya_local\devices” folder.

Then when you add a device in the normal way for Tuya-Local it should give you the option of “the Breville Easy Air™”

It has all of the same settings as the Tuya App. Except I didn’t bother with filter reset.


name: the Breville Easy Air™
products:

  • id: k2mlahbu9v4xxdlb
    primary_entity:
    entity: switch
    dps:
    • id: 1
      name: switch
      type: boolean
      mapping:
      • dps_val: true
        icon: “mdi:air-purifier”
      • dps_val: false
        icon: “mdi:air-purifier-off”
        secondary_entities:
  • entity: switch
    name: Night Mode
    category: config
    icon: “mdi:lightbulb-night”
    dps:
    • id: 8
      name: switch
      type: boolean
  • entity: switch
    name: Micro Shield
    category: config
    icon: “mdi:shield-bug”
    dps:
    • id: 9
      name: switch
      type: boolean
  • entity: sensor
    name: Filter Days Left
    category: diagnostic
    icon: “mdi:air-filter”
    dps:
    • id: 16
      name: sensor
      type: integer
      unit: day
  • entity: select
    name: Timer
    category: config
    dps:
    • id: 19
      type: string
      name: option
      mapping:
      • dps_val: “cancle”
        value: “Cancel”
        icon: “mdi:timer”
      • dps_val: “2”
        value: “2 hour”
        icon: “mdi:fan-clock”
      • dps_val: “4”
        value: “4 hours”
        icon: “mdi:fan-clock”
      • dps_val: “8”
        value: “8 hours”
        icon: “mdi:fan-clock”
  • entity: select
    name: Fan Speed
    category: config
    dps:
    • id: 4
      type: string
      name: option
      mapping:
      • dps_val: “low”
        value: “1 - Low”
        icon: “mdi:fan-speed-1”
      • dps_val: “mid”
        value: “2 - Mid”
        icon: “mdi:fan-speed-2”
      • dps_val: “high”
        value: “3 - High”
        icon: “mdi:fan-speed-3”
      • dps_val: “turbo”
        value: “4 - Turbo”
        icon: “mdi:fan-plus”
  • entity: sensor
    name: Time Left
    category: diagnostic
    icon: “mdi:timer”
    dps:
    • id: 20
      name: sensor
      type: integer
      unit: min

I’ve been trying to use your method to add the extra controls that are missing by default, but haven’t had much luck.

If I add a new file, it doesn’t appear as an option when I try add my device.

I tried amending the existing file that comes up by default when I try to add the device. Thinking that I could just add in the missing control. But still no luck. If I try add Night Mode for example, the file won’t appear as an option.

Any tips?