My Home Assistant configuration files and screenshots.
- Ubiquiti mPower power outlets
- Philips Hue lamps
- Philips TV
- Linn Majik DSM media player
- Kodi media player
- OpenGarage cover
- iRobot Roomba 960
The Ubiquiti mPower outlets can be used to read power consumption and to control socket states. This allows to automatically turn off power for devices that are in standby and which Home Assistant knows are not in use anymore. This is determined by the state of binary switches ('Music', 'TV' etc.).
Another possibility is to automatically switch the source of the amplifier to 'Phono' if the turntable is using energy.
Sometimes switches on the frontend are more appropriate, prettier or whatever than a dropdown list. The template switches defined in switches.yaml are based on an input_select component and make it possible to do a single selection switches group. So the same logic applies as for a dropdown list with one element active at all times, implemented as switches.
Media players are quite large and take up a lot of space on the frontend. There's two groups containing media_player components, one group's always shown, the other only displays media players when they're active. This configuration is based on danrspencer's work described on the Home Assistant Forum and slightly modified to account for permanent media players.

