diff --git a/custom_components/hitachi_yutaki/config_flow.py b/custom_components/hitachi_yutaki/config_flow.py index d3ce308..86aca8c 100644 --- a/custom_components/hitachi_yutaki/config_flow.py +++ b/custom_components/hitachi_yutaki/config_flow.py @@ -33,8 +33,8 @@ # Basic schema with essential options and advanced mode checkbox BASE_SCHEMA = vol.Schema( { - vol.Required(CONF_HOST, default=DEFAULT_HOST): str, vol.Optional(CONF_NAME, default=DEFAULT_NAME): str, + vol.Required(CONF_HOST, default=DEFAULT_HOST): str, vol.Required("show_advanced", default=False): bool, } ) diff --git a/custom_components/hitachi_yutaki/translations/en.json b/custom_components/hitachi_yutaki/translations/en.json index 5df0015..0e81620 100644 --- a/custom_components/hitachi_yutaki/translations/en.json +++ b/custom_components/hitachi_yutaki/translations/en.json @@ -29,13 +29,9 @@ "step": { "user": { "data": { - "host": "IP address", - "port": "Port", "name": "Name", - "show_advanced": "Show advanced settings", - "slave": "Modbus slave ID", - "scan_interval": "Scan interval (seconds)", - "dev_mode": "Developer mode (show all device types)" + "host": "IP address", + "show_advanced": "Show advanced settings" }, "description": "Configure your Hitachi Yutaki heat pump via ATW-MBS-02 gateway.", "title": "Hitachi Yutaki" @@ -45,7 +41,7 @@ "port": "Port", "slave": "Modbus slave ID", "scan_interval": "Scan interval (seconds)", - "dev_mode": "Developer mode" + "dev_mode": "Developer mode (add all devices, even if they are not configured in the system)" }, "description": "Advanced settings are intended for developers and users with custom Modbus configurations. Only modify these values if you know what you're doing.", "title": "Advanced Settings" diff --git a/custom_components/hitachi_yutaki/translations/fr.json b/custom_components/hitachi_yutaki/translations/fr.json index 6559f77..dc544f3 100644 --- a/custom_components/hitachi_yutaki/translations/fr.json +++ b/custom_components/hitachi_yutaki/translations/fr.json @@ -29,13 +29,9 @@ "step": { "user": { "data": { - "host": "Adresse IP", - "port": "Port", "name": "Nom", - "show_advanced": "Afficher les paramètres avancés", - "slave": "ID esclave Modbus", - "scan_interval": "Intervalle de scan (secondes)", - "dev_mode": "Mode développeur (affiche tous les types de devices)" + "host": "Adresse IP", + "show_advanced": "Afficher les paramètres avancés" }, "description": "Configurez votre pompe à chaleur Hitachi Yutaki via la passerelle ATW-MBS-02.", "title": "Hitachi Yutaki" @@ -45,7 +41,7 @@ "port": "Port", "slave": "ID esclave Modbus", "scan_interval": "Intervalle de scan (secondes)", - "dev_mode": "Mode développeur" + "dev_mode": "Mode développeur (ajoute tous les devices, même s'ils ne sont pas configurés dans le système)" }, "description": "Les paramètres avancés sont destinés aux développeurs et aux utilisateurs ayant une configuration Modbus personnalisée. Ne modifiez ces valeurs que si vous savez ce que vous faites.", "title": "Paramètres avancés"