Skip to content

Documentation for KNX component #3298

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

Merged
merged 5 commits into from
Sep 7, 2017
Merged

Conversation

Julius2342
Copy link
Contributor

Description:

Pull request in home-assistant (if applicable): home-assistant/core#8725

@mention-bot
Copy link

@Julius2342, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fabaff, @daBONDi and @tiktok7 to be potential reviewers.

@frenck frenck self-requested a review September 3, 2017 20:51
@frenck
Copy link
Member

frenck commented Sep 3, 2017

Quick look at the documentation and found a couple of spelling & grammar issues.
Currently running out of time to do this right now. Added myself as a reviewer to ensure I'll check it tomorrow.

@Julius2342
Copy link
Contributor Author

@frenck : thank you very much. Will also read it again later today.

Copy link
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Spelling & Grammar issues detected.

@Julius2342 Could you please take a look at my comments? Don't worry, they are all pretty minor 😸

#significant_bit: 2
```

* **name** (*Optional*): A name for this devices used within Home Assistant.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • devices -> device

```

* **name** (*Optional*): A name for this devices used within Home Assistant.
* **address**: KNX group address of binary sensor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • of binary sensor -> of the binary sensor

* **device_class**: (Optional) HASS device class e.g. "motion"
* **significant_bit**: (Optional) Specify which significant bit of the KNX value should be used. Default is 1.

You can also attach actions to binary sensors (e.g. to switch on a light when a switch was pressed). In this example I switch on one light when the button was pressed once and two others when the button was pressed a second time.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • Missing comma after e.g. -> (e.g., to switch
  • Missing comma after example -> In this example, I switch on
  • Please remove reference to documentation author, since the author is unknown to the reader; I switch on one light. (In generic, avoid: I, mine, etc).

service: homeassistant.turn_on
```

- **name** (*Optional*): A name for this devices used within Home Assistant.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • devices -> device

```

- **name** (*Optional*): A name for this devices used within Home Assistant.
- **counter**: (*Optional*) Set to 2 if your only want the action to be executed if the button was pressed twice. To 3 for 3 times button pressed. Defaults to 1.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • To 3 for 3 times -> To 3 for three times

```

Configuration variables:
* **name** (*Optional*): A name for this devices used within Home Assistant.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • this devices -> this device

```

Configuration variables:
* **name** (*Optional*): A name for this devices used within Home Assistant.
* **address**: KNX group address of sensor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • of sensor -> of the sensor

```
* **name** (*Optional*): A name for this devices used within Home Assistant.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • this devices -> this device

```
* **name** (*Optional*): A name for this devices used within Home Assistant.
* **address**: KNX group address for switching switch on/off
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • switching switch on/off -> switching the switch on/off

- **name** (*Optional*): A name for this devices used within Home assistant
- **address** (*Required*): The KNX group address that is used to turn on/off this actuator channel
- **state_address** (*Optional*): Some KNX devices can change their state internally without any messages on the KXN bus, e.g. if you configure a timer on a channel. The optional `state_address` can be used to inform Home Assistant about these state changes. If a KNX message is seen on the bus addressed to the given state address, this will overwrite the state of the switch object.
Some KNX devices can change their state internally without any messages on the KXN bus, e.g. if you configure a timer on a channel. The optional `state_address` can be used to inform Home Assistant about these state changes. If a KNX message is seen on the bus addressed to the given state address, this will overwrite the state of the switch object.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling & Grammar:

  • Missing comma after e.g. -> bus, e.g., if you

@Julius2342
Copy link
Contributor Author

@frenck : fixed all requested changes. Thank you very much!

@frenck frenck merged commit c3736c2 into home-assistant:next Sep 7, 2017
@frenck
Copy link
Member

frenck commented Sep 7, 2017

Thanks, @Julius2342! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants