# Automation does not turn on On/Off Light

**URL:** <https://forum.phoscon.de/t/automation-does-not-turn-on-on-off-light/5725>\
**Category:** General Support\
**Created:** [October 1, 2024, 4:29pm UTC](https://forum.phoscon.de/t/automation-does-not-turn-on-on-off-light/5725 "2024-10-01T16:29:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smibser](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@Smibser](https://forum.phoscon.de/u/Smibser)\
**Post date:** [October 1, 2024, 4:29pm UTC](https://forum.phoscon.de/t/automation-does-not-turn-on-on-off-light/5725/1 "2024-10-01T16:29:25Z")

</div>

Hello,

I have a SONOFF ZBMINIL2. It was added as On/Off Light in deCONZ and Phoscon App. Turing it off and on works fine. But when I create an automation which turns it on, it only activates it in Phoscon App but not actually in reality. So I think the trigger works since the light is on in Phoscon App. I already tired to create a scene that turns on the light and use the scene as action in the automation. Same behavior, light on in app but not in reality.

> **This is the configuration of the automation**
>
> ![Bildschirmfoto 2024-10-01 um 18.25.45](https://forum.phoscon.de/uploads/default/original/2X/b/b596f264e128458cbfd850486d493c8830863979.png)  
> ![Bildschirmfoto 2024-10-01 um 18.25.55](https://forum.phoscon.de/uploads/default/original/2X/2/212389a9eb37c03a5ed60c0285b08cea25ef2abe.png)  
> ![Bildschirmfoto 2024-10-01 um 18.26.10](https://forum.phoscon.de/uploads/default/original/2X/7/752ccaca487d29daf35075792c5d8c75cdb2b6d9.png)

> **This is the DDF of the SONOFF ZBMINIL2**
>
> ```auto
> {
> "schema": "devcap1.schema.json",
> "manufacturername": [
> "SONOFF",
> "SONOFF"
> ],
> "modelid": [
> "ZBMINI-L",
> "ZBMINIL2"
> ],
> "vendor": "Sonoff",
> "product": "Mini Relay No Neutral (ZBMINI-L/ZBMINIL2)",
> "sleeper": false,
> "status": "Gold",
> "path": "/devices/sonoff/zbmini-l_relay.json",
> "subdevices": [
> {
> "type": "$TYPE_ON_OFF_LIGHT",
> "restapi": "/lights",
> "uuid": [
> "$address.ext",
> "0x01"
> ],
> "items": [
> {
> "name": "attr/id"
> },
> {
> "name": "attr/lastannounced"
> },
> {
> "name": "attr/lastseen"
> },
> {
> "name": "attr/manufacturername"
> },
> {
> "name": "attr/modelid"
> },
> {
> "name": "attr/name"
> },
> {
> "name": "attr/swversion"
> },
> {
> "name": "attr/type"
> },
> {
> "name": "attr/uniqueid"
> },
> {
> "name": "state/on",
> "refresh.interval": 5,
> "read": {
> "at": "0x0000",
> "cl": "0x0006",
> "ep": 0,
> "fn": "zcl:attr"
> },
> "parse": {
> "at": "0x0000",
> "cl": "0x0006",
> "ep": 0,
> "eval": "Item.val = Attr.val",
> "fn": "zcl:attr"
> }
> },
> {
> "name": "state/reachable"
> }
> ]
> }
> ],
> "bindings": [
> {
> "bind": "unicast",
> "src.ep": 1,
> "cl": "0x0006",
> "report": [
> {
> "at": "0x0000",
> "dt": "0x10",
> "min": 5,
> "max": 1800
> }
> ]
> }
> ]
> }
> 
> ```

If you need screenshots of some clusters or any other information, please let me know
