forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Tado unique mobile device dispatcher (home-assistant#107631)
* Add unique home ID device dispatch * Adding fixture for new setup * Minor refactor work * Add check for unlinked to different homes * If the interface returns an error * Proper error handling * Feedback fixes * Comments for error in client * Typo * Update homeassistant/components/tado/__init__.py Co-authored-by: Martin Hjelmare <[email protected]> * Update homeassistant/components/tado/__init__.py Co-authored-by: Martin Hjelmare <[email protected]> * Update devices fix standard * Dispatch out of loop * Update dispatcher * Clean up --------- Co-authored-by: Martin Hjelmare <[email protected]>
- Loading branch information
Showing
5 changed files
with
74 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[ | ||
{ | ||
"name": "Home", | ||
"id": 123456, | ||
"settings": { | ||
"geoTrackingEnabled": false, | ||
"specialOffersEnabled": false, | ||
"onDemandLogRetrievalEnabled": false, | ||
"pushNotifications": { | ||
"lowBatteryReminder": true, | ||
"awayModeReminder": true, | ||
"homeModeReminder": true, | ||
"openWindowReminder": true, | ||
"energySavingsReportReminder": true, | ||
"incidentDetection": true, | ||
"energyIqReminder": false | ||
} | ||
}, | ||
"deviceMetadata": { | ||
"platform": "Android", | ||
"osVersion": "14", | ||
"model": "Samsung", | ||
"locale": "nl" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters