فهرست منبع

Add support for Alpine Saunas Helsinki (#5111)

* Add support for Alpine Saunas Helsinki

* Update alpine_saunas_helsinki.yaml

Change name: time to translation_key: timer to meet validation requirements.

* Update alpine_saunas_helsinki.yaml

Correct capitlization.

* Update alpine_saunas_helsinki.yaml

translation key changed to lower case

* Update alpine_saunas_helsinki.yaml

Addressed minor formatting feedback and corrected product ID

* Update alpine_saunas_helsinki.yaml

* Update alpine_saunas_helsinki.yaml

Updated ID102 to category.

* Update alpine_saunas_helsinki.yaml

Removed category from attribute 102

* fix(alpine_saunas_helsinki): Remove redundant icon

lightbulb is the default icon for lights. It is better in general not to override default icons, as the user may have some system wide customization that it interferes with

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
dhomeed 4 هفته پیش
والد
کامیت
a489e61a83
1فایلهای تغییر یافته به همراه47 افزوده شده و 0 حذف شده
  1. 47 0
      custom_components/tuya_local/devices/alpine_saunas_helsinki.yaml

+ 47 - 0
custom_components/tuya_local/devices/alpine_saunas_helsinki.yaml

@@ -0,0 +1,47 @@
+# Alpine Saunas - https://alpinespas.com.au/saunas
+name: Sauna
+products:
+  - id: "9tdocx8kf6f4ew6x"
+    manufacturer: "Alpine Saunas"
+    model: "Helsinki"
+entities:
+  - entity: climate
+    name: Sauna
+    icon: "mdi:hot-tub"
+    dps:
+      - id: 101
+        type: boolean
+        name: hvac_mode
+        mapping:
+          - dps_val: true
+            value: heat
+          - dps_val: false
+            value: "off"
+      - id: 104
+        type: integer
+        name: temperature
+        range:
+          min: 30
+          max: 70
+      - id: 106
+        type: integer
+        name: current_temperature
+      - id: 102
+        type: boolean
+        name: unknown_102
+  - entity: light
+    dps:
+      - id: 103
+        type: boolean
+        name: switch
+  - entity: number
+    translation_key: timer
+    category: config
+    dps:
+      - id: 105
+        type: integer
+        name: value
+        unit: min
+        range:
+          min: 0
+          max: 60