automations/areas/README.md
<!-- Header -->
[link-profile]:https://github.com/renemarc
[link-repo]:https://github.com/renemarc/home-assistant-config
<a name="top"></a>
<code>[renemarc][link-profile] / **[home-assistant-config][link-repo]** / [automations](..) / **areas** /</code>
<p align="right"><sub><strong><a href="https://github.com/renemarc/home-assistant-config">đ Home Assistant configuration for a smart-looking place! đ</a><br>Be sure to <a href="#" title="star">âī¸</a> or <a href="#" title="fork">đą</a> this repo!</strong></sub></p>
<!-- Hero -->
<figure>
<div align="center">
<a href="#ceiling" title="Ceiling"><img src="../../www/screenshots/group-ceiling.png" alt="Ceiling LIFX Z ceiling group" width="140"></a>
<a href="#kitchen" title="Kitchen"><img src="../../www/screenshots/group-kitchen.png" alt="Kitchen group" width="140"></a>
<a href="#bedroom" title="Bedroom"><img src="../../www/screenshots/group-bedroom.png" alt="Bedroom group" width="140"></a>
<a href="#lounge" title="Lounge"><img src="../../www/screenshots/group-lounge.png" alt="Lounge group" width="140"></a>
<a href="#washroom" title="Washroom"><img src="../../www/screenshots/group-washroom.png" alt="Washroom group" width="140"></a>
</div>
</figure>
<h1 align="center">Areas automations</h1>
Areas represent _rooms_ (bedroom, kitchen, lounge, washroom) and _zones_ (open ceiling, exterior).
Most of these automations are subscribers for modes defined in [`/inputs/input_booleans.yaml`](../inputs/input_booleans.yaml) and managed through [`/automations/modes/`](../modes/).
Areas are smart enough to understand what to do when a higher-level order (mode) is given. They know which device within their control should be turned on, dimmed or turned off. Like with work teams, areas are the group leaders: indivual team members don't have to worry about making sense of management's desires and instead just follow their team leader's directives.
<p align="right"><a href="#top" title="Back to top">đ</a></p>
## Bedroom
<div align="center">
<figure>
<div>
<img src="../../www/screenshots/group-bedroom.png" alt="Bedroom group" title="Bedroom group" width="325">
</div>
<figcaption>
<p><strong>Bedroom group.</strong></p>
</figcaption>
</figure>
</div>
### [`đ
ī¸ ./bedroom_low.yaml`](bedroom_low.yaml)
Set bedroom to _low-power_ state.
Only set low-power state if not currently in _nap mode_.
### [`âšī¸ ./bedroom_off.yaml`](bedroom_off.yaml)
Turn off bedroom.
Bedroom lights should be off when napping.
### [`âļī¸ ./bedroom_on.yaml`](bedroom_on.yaml)
Turn on bedroom.
If _low-power_ mode is enabled, the [`bedroom_low.yaml`](bedroom_low.yaml) automation will be used instead.
<p align="right"><a href="#top" title="Back to top">đ</a></p>
## Ceiling
Ceiling wash lights are three sets of [LIFX Z RGBW strips](https://www.lifx.com/products/lifx-z) (see [`/lights/`](../../lights#lifx-z-rgbw-led-strips)) set atop cabinets and partition walls, illuminating the ceiling without being directly visible.
<div align="center">
<figure>
<div>
<img src="../../www/screenshots/group-ceiling.png" alt="Ceiling LIFX Z ceiling group" title="Ceiling LIFX Z strip control" width="325">
</div>
<figcaption>
<p><strong>Ceiling LIFX Z strip control.</strong></p>
</figcaption>
</figure>
</div>
### [`đ ./ceiling_effect.yaml`](ceiling_effect.yaml)
Change ceiling wash lights based on [LIFX Cloud scenes](https://www.home-assistant.io/integrations/lifx_cloud/).
The LIFX strips have a few effects programmed with the LIFX mobile app and stored on their servers. Each effect mentions which device will receive which colour pattern. Also, each effect has a UUID that can be used to load the effect from the servers and program the LIFX devices accordingly.
### [`đ
ī¸ ./ceiling_low.yaml`](ceiling_low.yaml)
Set ceiling wash lights to _low-power_ state.
Only set low-power state if not currently in nap or night modes. The end result is currently very close to [`ceiling_off.yaml`](ceiling_off.yaml) but this automation is kept separate to allow for any eventual evolution.
### [`âšī¸ī¸ ./ceiling_off.yaml`](ceiling_off.yaml)
Turn off ceiling wash lights.
Ceiling wash lights should be off when napping or sleeping.
### [`âļī¸ī¸ ./ceiling_on.yaml`](ceiling_on.yaml)
Turn on ceiling wash lights.
### [`â˛ī¸ī¸ ./ceiling_schedule.yaml`](ceiling_schedule.yaml)
Schedule ceiling wash lights based on LIFX Cloud scenes.
Unless an effect is manually selected, this scheduler will do its thing.
### [`đ ./ceiling_select.yaml`](ceiling_select.yaml)
Manually select a LIFX cloud effect for the ceiling wash lights.
<p align="right"><a href="#top" title="Back to top">đ</a></p>
## Kitchen
<div align="center">
<figure>
<div>
<img src="../../www/screenshots/group-kitchen.png" alt="Kitchen group" title="Kitchen group" width="325">
</div>
<figcaption>
<p><strong>Kitchen group.</strong></p>
</figcaption>
</figure>
</div>
### [`đŗ ./kitchen_low.yaml`](kitchen_low.yaml)
Set kitchen to _low-power_ state.
Only set low-power state if not currently in _nap_ or _night_ modes.
### [`đŗ ./kitchen_off.yaml`](kitchen_off.yaml)
Turn off kitchen.
Kitchen lights should be off when sleeping.
### [`đŗī¸ ./kitchen_on.yaml`](kitchen_on.yaml)
Turn on kitchen.
If _low-power mode_ is enabled, the [`kitchen_low.yaml`](kitchen_low.yaml) automation will be used instead.
<p align="right"><a href="#top" title="Back to top">đ</a></p>
## Lounge
<div align="center">
<figure>
<div>
<img src="../../www/screenshots/group-lounge.png" alt="Lounge group" title="Lounge group" width="325">
</div>
<figcaption>
<p><strong>Lounge group.</strong></p>
</figcaption>
</figure>
</div>
### [`đī¸ ./lounge_low.yaml`](lounge_low.yaml)
Set lounge to _low-power_ state.
Only set low-power state if not currently in nap to night modes.
### [`đī¸ ./lounge_off.yaml`](lounge_off.yaml)
Turn off lounge.
Lounge lights should be off when sleeping.
### [`đī¸ ./lounge_on.yaml`](lounge_on.yaml)
Turn on lounge.
If _low-power mode_ is enabled, the [`lounge_low.yaml`](lounge_low.yaml) automation will be used instead.
<p align="right"><a href="#top" title="Back to top">đ</a></p>
## Washroom
<div align="center">
<figure>
<div>
<img src="../../www/screenshots/group-washroom.png" alt="Washroom group" title="Washroom group" width="325">
</div>
<figcaption>
<p><strong>Washroom group.</strong></p>
</figcaption>
</figure>
</div>
### [`đŋ ./washroom_low.yaml`](washroom_low.yaml)
Set washroom to _low-power_ state.
Only set low-power state if not currently in nap to night modes. The end result is currently very close to [`washroom_off.yaml`](washroom_off.yaml) but this automation is kept separate to allow for any eventual evolution.
### [`đŋī¸ ./washroom_off.yaml`](washroom_off.yaml)
Turn off washroom.
Wahsroom lights should be off when napping or sleeping.
### [`đŋī¸ ./washroom_on.yaml`](washroom_on.yaml)
Turn on washroom.
If _low-power_ mode is enabled, the [`washroom_low.yaml`](washroom_low.yaml) automation will be used instead.
<p align="right"><a href="#top" title="Back to top">đ</a></p>
## Customization
The bulk of the customization is done in [`/ui-lovelace.yaml`](../../ui-lovelace.yaml), [`/customize.yaml`](../../customize.yaml), and [`/customize_glob.yaml`](../../customize_glob.yaml).
<!-- Footer -->
<p align="right"><a href="#top" title="Back to top">đ</a></p>
<p align="center"><strong>Don't forget to <a href="#" title="star">âī¸</a> or <a href="#" title="fork">đą</a> this repo! đ</strong></p>
[đ Back to `/automations/`](../)
[đ Home][link-repo]