File tree 1 file changed +0
-19
lines changed
custom_components/daikin_residential_altherma
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -464,31 +464,12 @@ async def getApiInfo(self):
464
464
async def getCloudDeviceDetails (self ):
465
465
"""Get pure Device Data from the Daikin cloud devices."""
466
466
json_puredata = await self .doBearerRequest ("/v1/gateway-devices" )
467
-
468
- # DAMIANO Export JSON
469
- try :
470
- jsonPath = self .hass .config .path ("daikin_puredata.json" )
471
- with open (jsonPath , 'w' ) as jsonFile :
472
- json .dump (json_puredata , jsonFile , indent = 4 , sort_keys = True )
473
- #_LOGGER.info("Damiano export 1 ok")
474
- except Exception as e :
475
- _LOGGER .error ("DAMIANO - export 1 error '%s'" , e )
476
-
477
467
return json_puredata
478
468
479
469
async def getCloudDevices (self ):
480
470
"""Get array of DaikinResidentialDevice objects and get their data."""
481
471
self .json_data = await self .getCloudDeviceDetails ()
482
472
483
- # DAMIANO Export JSON
484
- try :
485
- jsonPath = self .hass .config .path ("daikin_data.json" )
486
- with open (jsonPath , 'w' ) as jsonFile :
487
- json .dump (self .json_data , jsonFile , indent = 4 , sort_keys = True )
488
- #_LOGGER.info("Damiano export 2 ok")
489
- except Exception as e :
490
- _LOGGER .error ("DAMIANO - export 2 error '%s'" , e )
491
-
492
473
res = {}
493
474
for dev_data in self .json_data or []:
494
475
device = Appliance (dev_data , self )
You can’t perform that action at this time.
0 commit comments