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