mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add entity translations to ecobee (#95281)
This commit is contained in:
committed by
GitHub
parent
320003bf15
commit
cb9cbdfb28
@@ -25,6 +25,7 @@ def ecobee_fixture():
|
||||
vals = {
|
||||
"name": "Ecobee",
|
||||
"modelNumber": "athenaSmart",
|
||||
"identifier": "abc",
|
||||
"program": {
|
||||
"climates": [
|
||||
{"name": "Climate1", "climateRef": "c1"},
|
||||
@@ -83,7 +84,7 @@ def thermostat_fixture(data):
|
||||
|
||||
async def test_name(thermostat) -> None:
|
||||
"""Test name property."""
|
||||
assert thermostat.name == "Ecobee"
|
||||
assert thermostat.device_info["name"] == "Ecobee"
|
||||
|
||||
|
||||
async def test_aux_heat_not_supported_by_default(hass: HomeAssistant) -> None:
|
||||
|
||||
Reference in New Issue
Block a user