Home Assistant
  • Getting started
    • Installing Home Assistant
    • Configuration basics
    • Adding devices
    • Presence detection
    • Automation
    • Templating
  • Components
  • Examples
  • Developers
    • Setup Development
    • Architecture
    • Frontend development
    • Creating components
    • Adding platform support
    • API
    • Credits
  • Blog
  • Need help?

Cookbook


This is a community currated list of different ways to use Home Assistant. New recipes can be added via the home-assistant.io repository.

Automation Examples

  • Automation for rainy days

  • Examples using the sun

  • Example using use_trigger_values

  • Turn on lights for 10 minutes after motion detected

  • Dim lights when playing media

  • Send a reminder

  • Restart Home Assistant if Wemo Switch is not detected

  • Track your battery level

  • Using time interval and input boolean

Custom Python Component Examples

  • Basic Service Example

  • Basic State Setting Example

  • Basic MQTT Example

Example configuration.yaml

  • Configuration.yaml by Carlo Costanzo

  • Configuration.yaml by happyleavesaoc

  • Configuration.yaml by GreenTurtwig

  • Customize polling interval for any component

Website powered by Jekyll and the Oscalite theme.
Hosted by GitHub and served by CloudFlare.