                              undefined,
                              undefined,
                              null,
-                             tangojs.tango.AttributeDataType.ATT_BOOL)
+                             tangojs.tango.AttributeDataType.ATT_BOOL.value)
     spectrum: createAttribute(([1..10].map (_i) -> Math.random()),
                               'spectrum'
                               undefined,

                              max_warning: '50'
                              max_alarm: '70'
                            }),
                            tangojs.tango.AttributeDataType.ATT_DOUBLE)
    string: createAttribute(undefined,
                            'string'
                            undefined,

                            undefined,
                            undefined,
                            null,
                            tangojs.tango.AttributeDataType.ATT_STRING.value)
    sine_trend: (->
      name = 'sine_trend'
      format = 'scientific,setprecision(3)'
