I was baking something earlier today, and had to ask Alexa how many ounces were in a gallon. It then occurred to me that I do not know how I would implement this in Rhasspy. My first thought is to just use a sentence of:
How many ($units) {unit1} are in [a] ($units) {unit2}?
and have home assistant process the logic using if statements.
Has anyone else had to implement something similar? Is there a plugin that does this? Is math an option either?
Thanks for any help