# \[Beginner\] Smart Porch Light Tutorial

**URL:** <https://community.homey.app/t/beginner-smart-porch-light-tutorial/4512>\
**Category:** Flows\
**Tags:** tutorial\
**Created:** [November 27, 2018, 7:08am UTC](https://community.homey.app/t/beginner-smart-porch-light-tutorial/4512 "2018-11-27T07:08:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [November 27, 2018, 7:20am UTC](https://community.homey.app/t/beginner-smart-porch-light-tutorial/4512/3 "2018-11-27T07:20:01Z")

</div>

## `{then}` again

* * *

Previously we created a flow, which would turn on the porch light at sunset, but we can do as many actions as we like. In this example we will be adding a second `{then}` which will also brighten the Homey LED when the sun sets.

## Ingredients

1. [[Fibaro Switch]](https://apps.athom.com/app/com.fibaro) (But you can use any smart light globe or switch.)
2. _[Date & Time]_ card, which give us access to time, date, day and even sun actions.
3. _[LED Ring]_ card, which gives us access to some homey LED ring actions.

## Actions

- `{when}`
- `{then}`

## Method

Using the flow we started in the previous post, adding another `{then}` action is as simple as going to `{then}` section and adding another action.

1. Slide up the `{then}` section
2. Click ⨁ Add Card
3. Select the _‘LED Ring’_ action a list of options will be displayed.
4. Select the _‘Set Brightness’_ option and the values of this option will be displayed.
5. Move the slider to _‘100%’_ then click the ✓ in the top right.
6. And finally click ✓ Save from the bottom left of the screen.

| | | | | | |
| --- | --- | --- | --- | --- | --- |
| ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2e95a1342c8e97faaad4217c8446ec4238c8edff.jpeg) | ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/63854a36da67f4da5521a9e92dc9c4b9c3c386dd.png) | ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/3/38d85a27a0ee6426d938cf7949331fc8e08da1a3.png) | ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/a71fd641d54e6cd479a3342a7edfd4c7cdbe83ee.png) | ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/0/0c01bf8f6eff1e3cdc122e82ffd3365dcb06a53d.jpeg) | ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/9c3b2f212deeed5dffa22fe3b2086f84eb64c3cb.jpeg) |

* * *

`{when}` Sunset `{then}` Turn on light `{then}` Set RING LED 100%

## Outcome

Now at sunset, not only will our porch light turn on, but our Homey LED ring will brighten up.

---

_[View the full topic](https://community.homey.app/t/beginner-smart-porch-light-tutorial/4512)._
