-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
Fix update of surveillance_station data in Synology DSM #47966
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix update of surveillance_station data in Synology DSM #47966
Conversation
@@ -502,7 +505,6 @@ def _async_setup_api_requests(self): | |||
"Disable surveillance_station api from being updated for '%s'", | |||
self._entry.unique_id, | |||
) | |||
self.dsm.reset(self.surveillance_station) | |||
self.surveillance_station = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should remove all the condition ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah you are right ... this condition is not needed anymore 👍
63c29aa
to
0828867
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Quentame Any more comments? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as well
Proposed change
This PR with remove API updates for
surveillance_station
fromasync_coordinator_update_data_central
, because thees updates are done by separateasync_coordinator_update_data_cameras
.Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: