Commit 48ebf7c 1 parent e369af6 commit 48ebf7c Copy full SHA for 48ebf7c
File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"domain" : " myheat" ,
3
3
"name" : " MyHeat" ,
4
- "integration_type" : " device" ,
5
- "documentation" : " https://github.com/vooon/hass-myheat" ,
6
- "issue_tracker" : " https://github.com/vooon/hass-myheat/issues" ,
7
- "dependencies" : [],
8
- "config_flow" : true ,
9
4
"codeowners" : [" @vooon" ],
10
- "requirements" : [],
5
+ "config_flow" : true ,
6
+ "dependencies" : [],
7
+ "documentation" : " https://github.com/vooon/hass-myheat" ,
8
+ "integration_type" : " device" ,
11
9
"iot_class" : " cloud_polling" ,
10
+ "issue_tracker" : " https://github.com/vooon/hass-myheat/issues" ,
12
11
"loggers" : [" myheat" ],
12
+ "requirements" : [],
13
13
"version" : " 0.2.0"
14
14
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def skip_notifications_fixture():
24
24
@pytest .fixture (name = "bypass_get_data" )
25
25
def bypass_get_data_fixture ():
26
26
"""Skip calls to get data from API."""
27
- with patch ("custom_components.myheat.MhApiClient.async_get_data " ):
27
+ with patch ("custom_components.myheat.MhApiClient.rpc " ):
28
28
yield
29
29
30
30
@@ -34,7 +34,7 @@ def bypass_get_data_fixture():
34
34
def error_get_data_fixture ():
35
35
"""Simulate error when retrieving data from API."""
36
36
with patch (
37
- "custom_components.myheat.MhApiClient.async_get_data " ,
37
+ "custom_components.myheat.MhApiClient.rpc " ,
38
38
side_effect = Exception ,
39
39
):
40
40
yield
You can’t perform that action at this time.
0 commit comments