Skip to content
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

Add Home Assistant interaction example #1143

Merged
merged 2 commits into from
Dec 16, 2024
Merged

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented Dec 16, 2024

What does this implement/fix?

Add example on how to use Home Assistant to control Pi-hole enable and disable through automation

Context: https://discourse.pi-hole.net/t/pi-hole-automation-in-homeassistant/74545


Related issue or feature (if applicable): N/A

Pull request in docs with documentation (if applicable): N/A


By submitting this pull request, I confirm the following:

  1. I have read and understood the contributors guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
  2. I have commented my proposed changes within the code.
  3. I am willing to help maintain this change if there are issues with it later.
  4. It is compatible with the EUPL 1.2 license
  5. I have squashed any insignificant commits. (git rebase)

Checklist:

  • The code change is tested and works locally.
  • I based my code and PRs against the repositories developmental branch.
  • I signed off all commits. Pi-hole enforces the DCO for all contributions
  • I signed all my commits. Pi-hole requires signatures to verify authorship
  • I have read the above and my PR is ready for review.

@DL6ER DL6ER requested a review from a team December 16, 2024 09:32
Copy link
Contributor

Images automagically compressed by Calibre's image-actions

Compression reduced images by 27.7%, saving 19.15 KB.

Filename Before After Improvement Visual comparison
docs/images/home-assistant/automation.png 54.63 KB 39.39 KB -27.9% View diff
docs/images/home-assistant/boolean.png 14.41 KB 10.50 KB -27.1% View diff

81 images did not require optimisation.

Update required: Update image-actions configuration to the latest version before 1/1/21. See README for instructions.

Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for pihole-docs ready!

Name Link
🔨 Latest commit d309d26
🔍 Latest deploy log https://app.netlify.com/sites/pihole-docs/deploys/675ff396b74d940008c399a9
😎 Deploy Preview https://deploy-preview-1143--pihole-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pralor-bot
Copy link
Collaborator

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/pi-hole-automation-in-homeassistant/74545/5

Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for pihole-docs ready!

Name Link
🔨 Latest commit 7c85e5a
🔍 Latest deploy log https://app.netlify.com/sites/pihole-docs/deploys/675ff3bcc38a570008912d00
😎 Deploy Preview https://deploy-preview-1143--pihole-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@DL6ER DL6ER merged commit d4735b5 into release/v6.0 Dec 16, 2024
4 checks passed
@DL6ER DL6ER deleted the new/home-assistant branch December 16, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants