Skip to content

Added documentation for Ring binary sensor#2231

Merged
fabaff merged 1 commit into
home-assistant:nextfrom
tchellomello:ring_binary_sensor
Mar 31, 2017
Merged

Added documentation for Ring binary sensor#2231
fabaff merged 1 commit into
home-assistant:nextfrom
tchellomello:ring_binary_sensor

Conversation

@tchellomello
Copy link
Copy Markdown
Contributor

Description:
Added documentation for Ring binary sensors

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

https://community-home-assistant-assets.s3.amazonaws.com/original/2X/f/f32ab302af330212fd4e6b69194a9e6961cd7131.png

Configuration

#configuration.yaml
binary_sensor:
  - platform: ring
    username: !secret ring_username
    password: !secret ring_password
    monitored_conditions:
      - ding
      - motion

Copy link
Copy Markdown
Contributor

@Landrash Landrash left a comment

Choose a reason for hiding this comment

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

This can be merged if the parent pr isn't changed.
Some minor question about the config variables.


- **username** (*Required*): The username for accessing your Ring account.
- **password** (*Required*): The password for accessing your Ring account.
- **monitored_conditions** array (*Required*): Conditions to display in the frontend. The following conditions can be monitored.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are both of these required? If not I think It should be marked as optional and to be removed from the minimal example.

If they generally are always monitored I don't see a reason to have them included by default by the component and remove the configuration variable.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hello @Landrash,

By default there are not included or monitored. The user must specify which sensor to use.

https://github.com/tchellomello/home-assistant/blob/binary_sensor_ring/homeassistant/components/binary_sensor/ring.py#L46

The user can choose only one or 2 sensors. They are not dependent.

@Landrash Landrash added the new-integration This PR adds documentation for a new Home Assistant integration label Mar 11, 2017
Copy link
Copy Markdown
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

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

Looks good to me 🐦

@fabaff fabaff merged commit 03c579a into home-assistant:next Mar 31, 2017
@tchellomello tchellomello deleted the ring_binary_sensor branch April 1, 2017 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-integration This PR adds documentation for a new Home Assistant integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants