Skip to content

Update switch.pilight.markdown to add variables and update links #4522

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 3 commits into from
Feb 8, 2018
Merged

Update switch.pilight.markdown to add variables and update links #4522

merged 3 commits into from
Feb 8, 2018

Conversation

jonnyair
Copy link
Contributor

@jonnyair jonnyair commented Jan 26, 2018

Description:

The variables unitcode and programcode are missing from the variables-list, unitcode is mentioned in the text below but they should be listed as optional variables if they are in fact optional variables.

furthermore the wiki-links to pilight are outdated, so i replaced the wiki.pilight.org links with manual.pilight,org links to their respective updated pages.

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

Checklist:

  • Branch: Fixes, changes and adjustments should be created against current. New documentation for platforms/components and features should go to next.
  • The documentation follow the standards.

The variables unitcode and programcode are missing from the variables-list, unitcode is mentioned in the text below but they should be listed as optional variables if they are in fact optional variables.

furthermore the wiki-links to pilight are outdated, so i replaced the wiki.pilight.org links with manual.pilight,org links to their respective updated pages.
- **unit** (*Optional*): The unit to use.
- **unit** (*Optional*): The unit to use (is equivalent to pilight-send --unit).
- **unitcode** (*Optional*): The unitcode to use (is equivalent to pilight-send --unitcode).
- **programcode** (*Optional*): The programcode to use (is equivalent to pilight-send --programcode).
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there is a programcode in their documentation:
e.g. as a parameter for pilight-send: https://manual.pilight.org/programs/send.html?highlight=programcode
and as a parameter for the impuls-protocol: https://manual.pilight.org/protocols/433.92/switch/impuls.html?highlight=programcode

Copy link
Member

Choose a reason for hiding this comment

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

Well yeah, but this is not the pilight documentation, it is Home Assistant.
I cannot find the option you are adding to the documentation, so I cannot accept/merge this PR.

Could you please update this PR with the correct parameters that match the Home Assistant code base?

@frenck frenck self-assigned this Feb 8, 2018
@frenck
Copy link
Member

frenck commented Feb 8, 2018

Can be merged as soon as the build passes.

@frenck frenck merged commit 08b3fee into home-assistant:current Feb 8, 2018
@jonnyair jonnyair deleted the patch-1 branch February 14, 2018 16:25
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.

2 participants