<?xml version="1.0"?>
<scxml xmlns="http://www.w3.org/2005/07/scxml"
       name="raise_without_event"
       version="1.0"
       datamodel="ecmascript"
       initial="off">

  <state id="on">
    <onentry>
        <raise event="auto.off"/>
    </onentry>
    
    <transition event="turn.off" target="off">
    </transition>
    <transition event="auto.off" target="off">
    </transition>
  </state>  

  <state id="off">
    <onentry>
        <raise/>
    </onentry>
    
    <transition event="turn.on" target="on">
    </transition>
  </state>
</scxml>