mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Add entity translation to Moon (#97404)
This commit is contained in:
parent
15b7035ad0
commit
04e72fec57
@ -47,7 +47,6 @@ class MoonSensorEntity(SensorEntity):
|
||||
"""Representation of a Moon sensor."""
|
||||
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = "Phase"
|
||||
_attr_device_class = SensorDeviceClass.ENUM
|
||||
_attr_options = [
|
||||
STATE_NEW_MOON,
|
||||
|
@ -13,6 +13,7 @@
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"phase": {
|
||||
"name": "Phase",
|
||||
"state": {
|
||||
"first_quarter": "First quarter",
|
||||
"full_moon": "Full moon",
|
||||
|
Loading…
x
Reference in New Issue
Block a user