-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e661bc
commit 97f4a29
Showing
3 changed files
with
99 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
name: "Validation And Formatting" | ||
on: | ||
push: | ||
branches: [stable] | ||
pull_request: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
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 |
---|---|---|
@@ -1,14 +1,12 @@ | ||
"""Ultimaker printer integration""" | ||
DOMAIN = 'ultimaker' | ||
DOMAIN = "ultimaker" | ||
|
||
|
||
def setup(hass, config): | ||
"""Your controller/hub specific code.""" | ||
# Data that you want to share with your platforms | ||
hass.data[DOMAIN] = { | ||
'x': 0 | ||
} | ||
hass.data[DOMAIN] = {"x": 0} | ||
|
||
hass.helpers.discovery.load_platform('sensor', DOMAIN, {}, config) | ||
hass.helpers.discovery.load_platform("sensor", DOMAIN, {}, config) | ||
|
||
return True | ||
return True |
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