Pro Breeze PB-20-EU + LocalTuya

Hi !
Thanks a lot for this ! Could you tell me where you can configure directly in YAML as you did in localtuya ?
I just find the classic way to do it through the UI.

Thanks a lot !

I don’t have the Pro Breeze but a Goldair unit, used this post to get working with Local Tuya.

This is the card I created:

image

This is the code to make the card

square: false
type: grid
cards:
  - type: horizontal-stack
    cards:
      - show_name: true
        show_icon: true
        type: button
        tap_action:
          action: toggle
        entity: switch.goldair_power
        icon: mdi:power
        show_state: false
        name: Power
      - type: entity
        entity: sensor.goldair_current_humidity
        name: Humidity
      - type: entity
        entity: sensor.goldair_current_temperature
        name: Temperature
  - type: horizontal-stack
    cards:
      - type: entities
        entities:
          - entity: select.goldair_mode
            name: Dehumidifier Mode
          - entity: select.goldair_fan_speed
            name: Fan Speed
  - type: horizontal-stack
    cards:
      - type: entity
        entity: sensor.dehumidifier_status
        name: Status
        icon: mdi:traffic-light
        state_color: true
      - type: entity
        entity: switch.goldair_sleep
        name: Night Mode
        icon: mdi:power-sleep
        state_color: true
      - type: entity
        entity: binary_sensor.goldair_defrost_status
        name: 'Defrost Status '
        icon: mdi:car-defrost-rear
        state_color: true
  - type: conditional
    conditions:
      - condition: state
        entity: select.goldair_mode
        state: Normal
    card:
      type: gauge
      entity: number.goldair_target_humidity
      unit: '%'
      name: Target Humidity
      max: 100
      needle: true
      min: 0
columns: 1

You will also need this helper to “translate” the status to something useful in the car d

This is the code for a template helper “sensor.dehumidifier_status” from the code above.

{% if states.sensor.goldair_status.state == '0' %}
  Ok
{% elif states.sensor.goldair_status.state == '4' %}
  Defrosting
{% elif states.sensor.goldair_status.state == '8' %}
  Tank full
{% else %}
  unknown
{% endif %}

Very interesting ! Thanks for your help !
Where did you paste the second part of your code with the different states of the water tank ?

You create a helper with that second part.

Setting → Devices and Services → Helpers
Then select “create helper” form the drop down list select “Template” then “Template Sensor” give it a name like in my code snip and paste the code.

Logged in just to say thanks to all the participants in this thread.
Yesterday I received my Pro Breeze PB-20-EU and I already have it integrated with Local Tuya. I made a nice card with the new sections inspired in BambamNZ’s card and helper :slight_smile:

1 Like