* Add Princess Smart Air Cooler * Fix linting errors * Rename princess-smart-air-cooler.yaml to princess_smart_air_cooler.yaml * Removed trailing space
@@ -0,0 +1,59 @@
+name: Princess Smart Air Cooler
+products:
+ - id: "y7qqmrwarh8e6jji"
+ manufacturer: Princess
+ model: Smart Air Cooler
+ model_id: "358640"
+entities:
+ - entity: fan
+ translation_key: fan_with_presets
+ dps:
+ - id: 1
+ type: boolean
+ name: switch
+ - id: 3
+ type: string
+ name: preset_mode
+ mapping:
+ - dps_val: ordinary
+ value: normal
+ - dps_val: nature
+ value: nature
+ - dps_val: sleep
+ value: sleep
+ - id: 2
+ type: integer
+ name: speed
+ range:
+ min: 1
+ max: 3
+ - id: 5
+ name: oscillate
+ - entity: switch
+ name: Cooling
+ icon: mdi:snowflake
+ - id: 11
+ # This is labelled as "panel light" in Tuya but actually silences
+ name: Silence
+ icon: mdi:volume-off
+ - id: 12
+ - entity: number
+ translation_key: timer
+ class: duration
+ category: config
+ - id: 13
+ name: value
+ unit: h
+ min: 0
+ max: 24