|Proconductor: Home Assistant Community|
Availability: included in thepersonale HUB Home Assistant
Type: components Home Assistant
Implementation difficulties: dependent on the switch platform used
The "switch" component di Home Assistant it is the most essential, the most basic of the elements included but also among the most used and versatile ones: the possibility of creating "switches", in fact, is one of the elementary functionalities for the management and configuration of the profirst home automation.
This component Home Assistant It provides state management and tracking of the switches, for each of them and, in a combined manner, that of the default group “all_switches", Which is" ON "in the presence of only one switch in this state.
The switch control services are "switch.turn_on","switch.turn_off","switch.toggle"
Unlike many other components (for example, "Sensor") There are no" classes "of" switches ". The platforms you are appMany are the "switch" component; the list is available on the page dedicated to the component (see column on the right).
|ATTENZIONE: remember that there is on our FORUM community an ad hoc section dedicated to Home Assistant, for any doubt, question, information on the specific merit of these components.|