Platform: Moon - "Phase" as Unit of Measurement necessary?

I don’t know, if this is the right spot to post that minor cosmetic issue.

I added the new Moon Sensor and I asked myself if it’s really necessary to show “Phase” as unit of measurement.

https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/sensor/moon.py#L68

I just used customize and set the unit_of_measurement: with no value.

How can one translate those terms to another language? Can it be archived using customize?

I think the only way is to directly modifiy moon.py by yourself.

You could also create a template sensor with different translations for the values. There’s only four states.

Yes, already thought of this, thanks.