Unit of measurement = Currency / or Set Kwh price dynamic

I’m try to set the kwh price in node red

I created an input_number, and node red set the value at 23:00 and again at 08:00.

however when I go to Configuration/Energy and try to set the price to an entity I have this error

Screenshot 2022-01-24 at 18.51.54


Screenshot 2022-01-24 at 18.52.01

Unexpected unit of measurement
Translation Error: The intl string context variable "currency" was not provided to the string "The following entities do not have the expected units of measurement ''{currency}/kWh'', ''{currency}/Wh'' or ''{currency}/MWh'':"
input_number.current_electricity_price

I find I figured out, I changed the unit of measurement of my input.number to $/kWh (actually need to change to € btw). no error so far