Fix error in diagnostics test in ista EcoTrend integration (#143456)

pull/143451/head^2
Manu 2025-04-22 15:52:25 +02:00 committed by GitHub
parent 72337e4c77
commit 871a7c87bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def mock_ista() -> Generator[MagicMock]:
"26e93f1a-c828-11ea-87d0-0242ac130003",
"eaf5c5c8-889f-4a3c-b68c-e9a676505762",
]
client.get_consumption_data.return_value = get_consumption_data()
client.get_consumption_data.side_effect = get_consumption_data
yield client