name: Weather station
products:
  - id: 6cwineqz1ndjmuee
    model: EM3395TY-2
entities:
  - entity: sensor
    name: Indoor temperature
    class: temperature
    dps:
      - id: 1
        type: integer
        name: sensor
        unit: C
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Indoor humidity
    class: humidity
    dps:
      - id: 2
        type: integer
        name: sensor
        unit: "%"
        class: measurement
  - entity: sensor
    class: battery
    category: diagnostic
    dps:
      - id: 4
        type: integer
        name: sensor
        unit: "%"
        class: measurement
  - entity: select
    translation_key: temperature_unit
    category: config
    dps:
      - id: 9
        type: string
        name: option
        mapping:
          - dps_val: c
            value: celsius
          - dps_val: f
            value: fahrenheit
  - entity: select
    name: Wind speed unit
    icon: mdi:weather-windy
    category: config
    dps:
      - id: 10
        type: string
        name: option
        mapping:
          - dps_val: mps
            value: m/s
          - dps_val: kmph
            value: km/h
          - dps_val: mph
            value: mph
  - entity: select
    name: Pressure unit
    icon: mdi:gauge
    category: config
    dps:
      - id: 11
        type: string
        name: option
        mapping:
          - dps_val: hpa
            value: hPa
          - dps_val: inhg
            value: inHg
          - dps_val: mmhg
            value: mmHg
  - entity: select
    name: Rain unit
    icon: mdi:weather-rainy
    category: config
    dps:
      - id: 12
        type: string
        name: option
        mapping:
          - dps_val: mm
            value: mm
          - dps_val: inch
            value: inch
  - entity: sensor
    class: temperature
    dps:
      - id: 38
        type: integer
        name: sensor
        unit: C
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    class: humidity
    dps:
      - id: 39
        type: integer
        name: sensor
        unit: "%"
        class: measurement
  - entity: sensor
    name: Temperature ch1
    class: temperature
    dps:
      - id: 40
        optional: true
        type: integer
        name: sensor
        unit: C
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Humidity ch1
    class: humidity
    dps:
      - id: 41
        optional: true
        type: integer
        name: sensor
        unit: "%"
        class: measurement
  - entity: sensor
    name: Temperature ch2
    class: temperature
    dps:
      - id: 42
        optional: true
        type: integer
        name: sensor
        unit: C
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Humidity ch2
    class: humidity
    dps:
      - id: 43
        optional: true
        type: integer
        name: sensor
        unit: "%"
        class: measurement
  - entity: sensor
    name: Temperature ch3
    class: temperature
    dps:
      - id: 44
        optional: true
        type: integer
        name: sensor
        unit: C
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Humidity ch3
    class: humidity
    dps:
      - id: 45
        optional: true
        type: integer
        name: sensor
        unit: "%"
        class: measurement
  - entity: sensor
    class: atmospheric_pressure
    dps:
      - id: 54
        type: integer
        name: sensor
        unit: hPa
        class: measurement
  - entity: sensor
    name: Pressure drop
    class: atmospheric_pressure
    dps:
      - id: 55
        type: integer
        name: sensor
        unit: hPa
        class: measurement
  - entity: sensor
    class: wind_speed
    dps:
      - id: 56
        optional: true
        type: integer
        name: sensor
        unit: m/s
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Wind gust
    class: wind_speed
    dps:
      - id: 57
        optional: true
        type: integer
        name: sensor
        unit: m/s
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Rain 1h
    class: precipitation
    dps:
      - id: 59
        type: integer
        name: sensor
        mapping:
          - scale: 10
        class: measurement
        unit: mm
  - entity: sensor
    class: precipitation
    dps:
      - id: 60
        type: integer
        name: sensor
        mapping:
          - scale: 10
        class: measurement
        unit: mm
  - entity: sensor
    class: precipitation_intensity
    dps:
      - id: 61
        optional: true
        type: integer
        name: sensor
        mapping:
          - scale: 10
        class: measurement
        unit: mm/h
  - entity: sensor
    name: UV index
    icon: mdi:weather-sunny
    dps:
      - id: 62
        type: integer
        optional: true
        name: sensor
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Dew point
    class: temperature
    dps:
      - id: 64
        optional: true
        type: integer
        name: sensor
        unit: C
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Feels like temperature
    class: temperature
    dps:
      - id: 65
        optional: true
        type: integer
        name: sensor
        unit: C
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Heat index
    class: temperature
    dps:
      - id: 66
        optional: true
        type: integer
        name: sensor
        unit: C
        mapping:
          - scale: 10
        class: measurement
  - entity: sensor
    name: Wind chill index
    class: temperature
    dps:
      - id: 67
        optional: true
        type: integer
        name: sensor
        unit: C
        mapping:
          - scale: 10
        class: measurement
