diff --git a/homeassistant/components/tessie/cover.py b/homeassistant/components/tessie/cover.py index c0d670a29984..35002d52d07e 100644 --- a/homeassistant/components/tessie/cover.py +++ b/homeassistant/components/tessie/cover.py @@ -108,7 +108,6 @@ class TessieWindowEntity(TessieEntity, CoverEntity): class TessieChargePortEntity(TessieEntity, CoverEntity): """Cover entity for the charge port.""" - _attr_device_class = CoverDeviceClass.DOOR _attr_supported_features = CoverEntityFeature.OPEN | CoverEntityFeature.CLOSE def __init__(self, vehicle: TessieVehicleData) -> None: @@ -137,7 +136,6 @@ class TessieChargePortEntity(TessieEntity, CoverEntity): class TessieFrontTrunkEntity(TessieEntity, CoverEntity): """Cover entity for the charge port.""" - _attr_device_class = CoverDeviceClass.DOOR _attr_supported_features = CoverEntityFeature.OPEN def __init__(self, vehicle: TessieVehicleData) -> None: @@ -160,7 +158,6 @@ class TessieFrontTrunkEntity(TessieEntity, CoverEntity): class TessieRearTrunkEntity(TessieEntity, CoverEntity): """Cover entity for the charge port.""" - _attr_device_class = CoverDeviceClass.DOOR _attr_supported_features = CoverEntityFeature.OPEN | CoverEntityFeature.CLOSE def __init__(self, vehicle: TessieVehicleData) -> None: diff --git a/homeassistant/components/tessie/icons.json b/homeassistant/components/tessie/icons.json index c5771600c60b..e69314ea6365 100644 --- a/homeassistant/components/tessie/icons.json +++ b/homeassistant/components/tessie/icons.json @@ -117,6 +117,17 @@ } } }, + "cover": { + "charge_state_charge_port_door_open": { + "default": "mdi:ev-plug-ccs2" + }, + "vehicle_state_ft": { + "default": "mdi:car" + }, + "vehicle_state_rt": { + "default": "mdi:car-back" + } + }, "device_tracker": { "location": { "default": "mdi:car", diff --git a/tests/components/tessie/snapshots/test_cover.ambr b/tests/components/tessie/snapshots/test_cover.ambr index 7348fc23853c..df040d59b9b3 100644 --- a/tests/components/tessie/snapshots/test_cover.ambr +++ b/tests/components/tessie/snapshots/test_cover.ambr @@ -24,7 +24,7 @@ 'object_id_base': 'Charge port door', 'options': dict({ }), - 'original_device_class': , + 'original_device_class': None, 'original_icon': None, 'original_name': 'Charge port door', 'platform': 'tessie', @@ -39,7 +39,6 @@ # name: test_covers[cover.test_charge_port_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - : 'door', : 'Test Charge port door', : False, : , @@ -77,7 +76,7 @@ 'object_id_base': 'Frunk', 'options': dict({ }), - 'original_device_class': , + 'original_device_class': None, 'original_icon': None, 'original_name': 'Frunk', 'platform': 'tessie', @@ -92,7 +91,6 @@ # name: test_covers[cover.test_frunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - : 'door', : 'Test Frunk', : True, : , @@ -183,7 +181,7 @@ 'object_id_base': 'Trunk', 'options': dict({ }), - 'original_device_class': , + 'original_device_class': None, 'original_icon': None, 'original_name': 'Trunk', 'platform': 'tessie', @@ -198,7 +196,6 @@ # name: test_covers[cover.test_trunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - : 'door', : 'Test Trunk', : True, : ,