Skip to content

Add Scrape sensor documentation #1220

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 4 commits into from
Oct 17, 2016
Merged

Add Scrape sensor documentation #1220

merged 4 commits into from
Oct 17, 2016

Conversation

fabaff
Copy link
Member

@fabaff fabaff commented Oct 12, 2016

No description provided.

@fabaff fabaff changed the title Add Scrap sensor documentation Add Scrape sensor documentation Oct 12, 2016
---
layout: page
title: "Scrape Sensor"
description: "Instructions how to integrate Web scrap sensors into Home Assistant."
Copy link
Contributor

Choose a reason for hiding this comment

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

scrap or scrape?

Copy link
Member Author

Choose a reason for hiding this comment

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

Will be scrape.


Configuration variables:

- **resource** (*Required*): The URl to the website that contains the value.
Copy link
Contributor

Choose a reason for hiding this comment

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

URl -> URL

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks

- **filter** (*Required*): Defines the HTML tag to filter for, eg. `h1`, `span`, etc.
- **name** (*Optional*): Name of the sensor.
- **element** (*Optional*): Number of the element in the output.
- **before** (*Optional*): Count of chars to remove before the value.
Copy link
Contributor

Choose a reason for hiding this comment

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

chars or characters?

Copy link
Member Author

Choose a reason for hiding this comment

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

Should be characters.

Copy link
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.

Looks good. A few small question but all i all this is another one of those great quality of life improvements that I hope many will have use off.

@robbiet480 robbiet480 added the Hacktoberfest An PR on this issue (or the PR itself) is eligible towards Hacktoberfest! label Oct 13, 2016
@fabaff fabaff merged commit 25a5195 into home-assistant:next Oct 17, 2016
@fabaff fabaff deleted the scrap-sensor branch October 17, 2016 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest An PR on this issue (or the PR itself) is eligible towards Hacktoberfest!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants