Преглед изворни кода

Add translations for options.

The translations for new entity types are needed for options as well as initial config.
Jason Rumney пре 4 година
родитељ
комит
e96a9b53e0
1 измењених фајлова са 16 додато и 2 уклоњено
  1. 16 2
      custom_components/tuya_local/translations/en.json

+ 16 - 2
custom_components/tuya_local/translations/en.json

@@ -40,7 +40,7 @@
 		    "switch_air_clean": "Include air clean as a switch entity",
 		    "switch_ionizer": "Include ionizer as a switch entity",
 		    "switch_master": "Include master switch as a switch entity",
-		    "switch_open_window_detector": "Include open window detect as a switch entity"
+		    "switch_open_window_detector": "Include open window detect as a switch entity",
 		    "switch_sleep": "Include sleep mode as a switch entity",
 		    "switch_sound": "Include sound mute as a switch entity"
 		}
@@ -67,7 +67,21 @@
 		"climate": "Include a climate entity",
 		"light": "Include a light entity",
 		"lock": "Include a lock entity",
-		"switch": "Include a switch entity"
+		"switch": "Include a switch entity",
+		"fan_fan": "Include a fan entity",
+		"fan_intensity": "Include intensity as a fan entitiy",
+		"humidifier_humidifier": "Include a humidifier entity",
+		"light_aq_indicator": "Include AQ indicator as a light entity",
+		"light_display": "Include display as a light entity",
+		"light_light": "Include a light entity",
+		"light_uv_sterilization": "Include UV sterilization as a light entitiy",
+		"lock_child_lock": "Include child lock as a lock entity",
+		"switch_air_clean": "Include air clean as a switch entity",
+		"switch_ionizer": "Include ionizer as a switch entity",
+		"switch_master": "Include master switch as a switch entity",
+		"switch_open_window_detector": "Include open window detect as a switch entity",
+		"switch_sleep": "Include sleep mode as a switch entity",
+		"switch_sound": "Include sound mute as a switch entity"
             }
 	}
     },