Sfoglia il codice sorgente

Add support for Gologi dehumidifier

Issue #2923

Translations added for a "dehumidifier" fan. Also added a name for
fan_with_presets so it won't get None as a name.
Jason Rumney 11 mesi fa
parent
commit
7b2229923c

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -869,3 +869,4 @@ Further device support has been made with the assistance of users. Please consid
 - [Codeh4ack](https://github.com/Codeh4ack) for contributing improvements for Della air conditioner (supporting Sendo Hermes Gold).
 - [comcowo](https://github.com/comcowo) for contributing improvements to Powerworld PW58330 water heater.
 - [shyfxshadow](https://github.com/shyfxshadow) for assisting with support for EleChico CCST6001 thermostat.
+- [Lemckert](https://github.com/Lemckert) for assisting with support for Gologi dehumidifier.

+ 1 - 0
DEVICES.md

@@ -378,6 +378,7 @@
 - Emerio DH-129238.1 dehumidifier
 - Goldair GPDH340 dehumidifier
 - Goldair GPDH420 dehumidifier
+- Gologi GO021 dehumidifier
 - Greenmigo Alpha Q25 dehumidifier
 - Honeywell TP(30/50/70) dehumidifiers
 - Hyundai Sahara dehumidifier

+ 12 - 0
custom_components/tuya_local/translations/bg.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Обезвлажнител",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Пречистете",
+                            "dehumidify": "Обезвлажняване"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Вентилатор",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/ca.json

@@ -473,7 +473,19 @@
                     }
                 }
             },
+            "dehumidifier":{
+                "name": "Deshumidificador",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Purifica",
+                            "dehumidify": "Deshumidifica"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Ventilador",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/cz.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Odvlhčovač",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Očistit",
+                            "dehumidify": "Odvlhčovat"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Ventilátor",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/de.json

@@ -316,7 +316,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Entfeuchter",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Reinigen",
+                            "dehumidify": "Entfeuchten"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Ventilator",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/el.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Αφυγραντήρας",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Καθαρισμός",
+                            "dehumidify": "Αφυγραντήρας"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Ανεμιστήρας",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/en.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Dehumidifier",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Purify",
+                            "dehumidify": "Dehumidify"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Fan",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/es.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Deshumidificador",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Purificar",
+                            "dehumidify": "Deshumidificar"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Ventilador",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/fr.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Déshumidificateur",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Purifier",
+                            "dehumidify": "Déshumidifier"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Ventilateur",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/hu.json

@@ -318,7 +318,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Párátlanító",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Tisztítás",
+                            "dehumidify": "Párátlanítás"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Ventilátor",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/id.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Pengering",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Penjernih",
+                            "dehumidify": "Pengering"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Kipas",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/it.json

@@ -318,7 +318,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Deumidificatore",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Purifica",
+                            "dehumidify": "Deumidifica"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Ventilatore",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/ja.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "除湿器",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "浄化",
+                            "dehumidify": "除湿"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "ファン",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/no-NB.json

@@ -318,7 +318,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Avfukter",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Rens",
+                            "dehumidify": "Avfukte"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Vifte",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/pl.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Osuszacz",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Oczyszczanie",
+                            "dehumidify": "Osuszanie"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Wentylator",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/pt-BR.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Desumidificador",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Purificar",
+                            "dehumidify": "Desumidificar"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Ventilador",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/ru.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Осушитель",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Очистка",
+                            "dehumidify": "Осушение"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Вентилятор",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/uk.json

@@ -320,7 +320,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "Осушувач",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "Очистити",
+                            "dehumidify": "Осушити"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "Вентилятор",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/ur.json

@@ -320,7 +320,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "ڈی ہیومیڈیفائر",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "پاک کریں۔",
+                            "dehumidify": "ڈی ہیومیڈیفائی کریں۔"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "پنکھا",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/zh-Hans.json

@@ -317,7 +317,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "除湿机",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "净化",
+                            "dehumidify": "除湿"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "风扇",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {

+ 12 - 0
custom_components/tuya_local/translations/zh-Hant.json

@@ -318,7 +318,19 @@
                     }
                 }
             },
+            "dehumidifier": {
+                "name": "除濕機",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "purify": "淨化",
+                            "dehumidify": "除濕"
+                        }
+                    }
+                }
+            },
             "fan_with_presets": {
+                "name": "風扇",
                 "state_attributes": {
                     "preset_mode": {
                         "state": {