Skip to content

Commit 4ecd8d5

Browse files
committedApr 12, 2016
Update links
1 parent 5b8a2b0 commit 4ecd8d5

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed
 

‎.github/PULL_REQUEST_TEMPLATE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ If the code does not interact with devices:
2323

2424
[fork]: http://stackoverflow.com/a/7244456
2525
[squash]: https://github.com/ginatrapani/todo.txt-android/wiki/Squash-All-Commits-Related-to-a-Single-Issue-into-a-Single-Commit
26-
[ex-requir]: https://github.com/balloob/home-assistant/blob/dev/homeassistant/components/keyboard.py#L16
27-
[ex-import]: https://github.com/balloob/home-assistant/blob/dev/homeassistant/components/keyboard.py#L51
26+
[ex-requir]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L16
27+
[ex-import]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L51
2828

‎.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "homeassistant/components/frontend/www_static/home-assistant-polymer"]
22
path = homeassistant/components/frontend/www_static/home-assistant-polymer
3-
url = https://github.com/balloob/home-assistant-polymer.git
3+
url = https://github.com/home-assistant/home-assistant-polymer.git

‎CONTRIBUTING.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Everybody is invited and welcome to contribute to Home Assistant. There is a lot
44

55
The process is straight-forward.
66

7-
- Fork the Home Assistant [git repository](https://github.com/balloob/home-assistant).
7+
- Fork the Home Assistant [git repository](https://github.com/home-assistant/home-assistant).
88
- Write the code for your device, notification service, sensor, or IoT thing.
99
- Ensure tests work.
10-
- Create a Pull Request against the [**dev**](https://github.com/balloob/home-assistant/tree/dev) branch of Home Assistant.
10+
- Create a Pull Request against the [**dev**](https://github.com/home-assistant/home-assistant/tree/dev) branch of Home Assistant.
1111

1212
Still interested? Then you should read the next sections and get more details.
1313

@@ -20,20 +20,20 @@ After you finish adding support for your device:
2020
- Check that all dependencies are included via the `REQUIREMENTS` variable in your platform/component and only imported inside functions that use them.
2121
- Add any new dependencies to `requirements_all.txt` if needed. Use `script/gen_requirements_all.py`.
2222
- Update the `.coveragerc` file to exclude your platform if there are no tests available or your new code uses a 3rd party library for communication with the device/service/sensor.
23-
- Provide some documentation for [home-assistant.io](https://home-assistant.io/). It's OK to just add a docstring with configuration details (sample entry for `configuration.yaml` file and alike) to the file header as a start. Visit the [website documentation](https://home-assistant.io/developers/website/) for further information on contributing to [home-assistant.io](https://github.com/balloob/home-assistant.io).
23+
- Provide some documentation for [home-assistant.io](https://home-assistant.io/). It's OK to just add a docstring with configuration details (sample entry for `configuration.yaml` file and alike) to the file header as a start. Visit the [website documentation](https://home-assistant.io/developers/website/) for further information on contributing to [home-assistant.io](https://github.com/home-assistant/home-assistant.io).
2424
- Make sure all your code passes ``pylint`` and ``flake8`` (PEP8 and some more) validation. To check your repository, run `tox` or `script/lint`.
25-
- Create a Pull Request against the [**dev**](https://github.com/balloob/home-assistant/tree/dev) branch of Home Assistant.
26-
- Check for comments and suggestions on your Pull Request and keep an eye on the [CI output](https://travis-ci.org/balloob/home-assistant/).
25+
- Create a Pull Request against the [**dev**](https://github.com/home-assistant/home-assistant/tree/dev) branch of Home Assistant.
26+
- Check for comments and suggestions on your Pull Request and keep an eye on the [CI output](https://travis-ci.org/home-assistant/home-assistant/).
2727

2828
If you add a platform for an existing component, there is usually no need for updating the frontend. Only if you've added a new component that should show up in the frontend, there are more steps needed:
2929

30-
- Update the file [`home-assistant-icons.html`](https://github.com/balloob/home-assistant/blob/master/homeassistant/components/frontend/www_static/polymer/resources/home-assistant-icons.html) with an icon for your domain ([pick one from this list](https://www.polymer-project.org/1.0/components/core-elements/demo.html#core-icon)).
30+
- Update the file [`home-assistant-icons.html`](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/www_static/polymer/resources/home-assistant-icons.html) with an icon for your domain ([pick one from this list](https://www.polymer-project.org/1.0/components/core-elements/demo.html#core-icon)).
3131
- Update the demo component with two states that it provides.
3232
- Add your component to `home-assistant.conf.example`.
3333

3434
Since you've updated `home-assistant-icons.html`, you've made changes to the frontend:
3535

36-
- Run `build_frontend`. This will build a new version of the frontend. Make sure you add the changed files `frontend.py` and `frontend.html` to the commit.
36+
- Run `script/build_frontend`. This will build a new version of the frontend. Make sure you add the changed files `frontend.py` and `frontend.html` to the commit.
3737

3838
### Setting states
3939

@@ -46,11 +46,11 @@ A state can have several attributes that will help the frontend in displaying yo
4646
- `unit_of_measurement`: this will be appended to the state in the interface
4747
- `hidden`: This is a suggestion to the frontend on if the state should be hidden
4848

49-
These attributes are defined in [homeassistant.components](https://github.com/balloob/home-assistant/blob/master/homeassistant/components/__init__.py#L25).
49+
These attributes are defined in [homeassistant.components](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/__init__.py#L25).
5050

5151
### Proper Visibility Handling
5252

53-
Generally, when creating a new entity for Home Assistant you will want it to be a class that inherits the [homeassistant.helpers.entity.Entity](https://github.com/balloob/home-assistant/blob/master/homeassistant/helpers/entity.py) class. If this is done, visibility will be handled for you.
53+
Generally, when creating a new entity for Home Assistant you will want it to be a class that inherits the [homeassistant.helpers.entity.Entity](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/helpers/entity.py) class. If this is done, visibility will be handled for you.
5454
You can set a suggestion for your entity's visibility by setting the hidden property by doing something similar to the following.
5555

5656
```python

‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
PACKAGE_NAME = 'homeassistant'
77
HERE = os.path.abspath(os.path.dirname(__file__))
8-
DOWNLOAD_URL = ('https://github.com/balloob/home-assistant/archive/'
8+
DOWNLOAD_URL = ('https://github.com/home-assistant/home-assistant/archive/'
99
'{}.zip'.format(__version__))
1010

1111
PACKAGES = find_packages(exclude=['tests', 'tests.*'])

0 commit comments

Comments
 (0)