Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beverage selector not translating #97

Open
nu00 opened this issue Jan 2, 2024 · 0 comments
Open

Beverage selector not translating #97

nu00 opened this issue Jan 2, 2024 · 0 comments

Comments

@nu00
Copy link

nu00 commented Jan 2, 2024

The beverage selector dosen't translate the type of beverage after i've changed the translations/it.json file

My file edited (based on the en version):

{
  "config": {
    "abort": {
      "already_configured": "Il Dispositivo è già configurato"
    },
    "error": {
      "cannot_connect": "Connessione fallita",
      "invalid_auth": "Autenticazione fallita",
      "unknown": "Errore inaspettato"
    },
    "step": {
      "user": {
        "data": {
          "mac": "MAC",
          "name": "Nome"
        }
      }
    }
  },
  "entity": {
    "select": {
      "profile": {
        "name": "Profilo"
      },
      "make_beverage": {
        "name": "Bevanda"
      },
      "energy_save_mode": {
        "name": "Spegni dopo"
      },
      "water_hardness": {
        "name": "Durezza dell'acqua"
      },
      "water_temperature": {
        "name": "Temperatura dell'acqua"
      }
    },
    "button": {
      "power_on": {
        "name": "Pulsante d'accensione"
      }
    },
    "switch": {
      "cup_light": {
        "name": "Luce Tazza"
      },
      "debug_notification": {
        "name": "Notifica Debug"
      },
      "energy_save_mode": {
        "name": "Modalità risparmio"
      },
      "sounds": {
        "name": "Suoni"
      }
    }
  },
   "services": {
    "make_beverage": {
      "name": "Eroga Bevanda",
      "description": "Eroga una bevanda dalla lista qua sotto",
      "fields": {
        "beverage": {
          "name": "Bevanda",
          "description": "Bevanda da erogare"
        },
        "entity_id": {
          "name": "Entity ID",
          "description": "Entity ID della macchina del caffè"
        }
      }
    }
  },
  "selector": {
    "beverage": {
      "options": {
        "none": "Nessuno",
        "steam": "Vapore",
        "long": "Lungo",
        "coffee": "Caffè",
        "dopio": "Doppio",
        "hot_water": "Acqua calda",
        "espresso": "Espresso",
        "americano": "Americano",
        "espresso2": "Espresso 2"
      }
    }
  }
}

The result in Home Assistant interface:
image

Also, the water hadness, the water temperature and the turn off after selectors (not my case, but in some languages minutes and hours are different...) can't be edited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant