Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions homeassistant/components/nest/sensor_sdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class TemperatureSensor(SensorBase):

_attr_device_class = SensorDeviceClass.TEMPERATURE
_attr_native_unit_of_measurement = UnitOfTemperature.CELSIUS
_attr_translation_key = "temperature"

@property
def native_value(self) -> float:
Expand All @@ -96,7 +95,6 @@ class HumiditySensor(SensorBase):

_attr_device_class = SensorDeviceClass.HUMIDITY
_attr_native_unit_of_measurement = PERCENTAGE
_attr_translation_key = "humidity"

@property
def native_value(self) -> int:
Expand Down
10 changes: 0 additions & 10 deletions homeassistant/components/nest/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,5 @@
"title": "Legacy Works With Nest is being removed",
"description": "Legacy Works With Nest is being removed from Home Assistant.\n\nYou must take action to use the SDM API. Remove all `nest` configuration from `configuration.yaml` and restart Home Assistant, then see the Nest [integration instructions]({documentation_url}) for set up instructions and supported devices."
}
},
"entity": {
"sensor": {
"temperature": {
"name": "[%key:component::sensor::entity_component::temperature::name%]"
},
"humidity": {
"name": "[%key:component::sensor::entity_component::humidity::name%]"
}
}
}
}