1
0
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:
Joost Lekkerkerker
2023-06-26 23:12:48 +02:00
committed by GitHub
parent 320003bf15
commit cb9cbdfb28
8 changed files with 32 additions and 57 deletions

View File

@@ -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: