Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Smart Home Automation Solutions with Home Assistant

You're reading from   Building Smart Home Automation Solutions with Home Assistant Configure, integrate, and manage hardware and software systems to automate your home

Arrow left icon
Product type Paperback
Published in Sep 2023
Publisher Packt
ISBN-13 9781801815291
Length 356 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Marco Antonio Santuci Carvalho Marco Antonio Santuci Carvalho
Author Profile Icon Marco Antonio Santuci Carvalho
Marco Antonio Santuci Carvalho
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1: Introduction to Home Assistant – Installation and Configuration
2. Chapter 1: Understanding Home Automation Systems FREE CHAPTER 3. Chapter 2: Getting Started with Home Assistant 4. Part 2: Install, Create, and Hack Sensors and Actuators
5. Chapter 3: Hands-On Project 1 – Creating Your Own Sensor 6. Chapter 4: Hacking a Commercial Actuator to Work with Home Assistant 7. Part 3: Automations, Customizations, and Integrations Using Home Assistant
8. Chapter 5: Creating Automations Using Home Assistant 9. Chapter 6: Doing More Using Integrations and Customizations 10. Part 4: Expanding Home Assistant’s Capabilities
11. Chapter 7: Extending Home Automation Capabilities Using Add-ons 12. Chapter 8: Installing and Setting Up Home Assistant Container 13. Part 5: Learn by Doing and Future Trends
14. Chapter 9: Hands-On Project 2 – Creating an LED Strip Controller and Adding It to Home Assistant 15. Chapter 10: Hands-On Project 3 – Creating a Five-Zone Temperature Logger for Your Home 16. Chapter 11: The Road Ahead in Home Automation Technologies 17. Index 18. Other Books You May Enjoy

Components of an automation in the context of Home Assistant

It is important to understand what are the names assigned by Home Assistant to some components of an automation, which will be helpful when you create your own automation. Before detailing what the components are, let’s first understand what an entity is in Home Assistant.

Understanding entities

Before we can discuss the components of an automation, we will need to know what an entity is. An entity is what Home Assistant calls a data structure that can be associated with a device. An entity basically has three main parts:

  • ID: The identifier for the entity
  • State: The current state of the entity
  • Attributes: Extra information related to the entity or state

A device can have one or more entities, and each one, with its parts, can be included in an automation. As an example, the off-the-shelf plug device, desk_outlet, that we configured in Chapter 4 has the entity structure shown in Table 5...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image