mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Keeping adding in Github repositories after error (#32393)
This commit is contained in:
parent
7ca4665711
commit
eb90cefd84
@ -61,8 +61,8 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
"Error setting up GitHub platform. %s",
|
||||
"Check previous errors for details",
|
||||
)
|
||||
return
|
||||
sensors.append(GitHubSensor(data))
|
||||
else:
|
||||
sensors.append(GitHubSensor(data))
|
||||
add_entities(sensors, True)
|
||||
|
||||
|
||||
@ -170,7 +170,6 @@ class GitHubData:
|
||||
return
|
||||
|
||||
self.name = repository.get(CONF_NAME, repo.name)
|
||||
|
||||
self.available = False
|
||||
self.latest_commit_message = None
|
||||
self.latest_commit_sha = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user