Element details
type: meya.time.component.availability
class: TimeAvailabilityComponent
path: /meya/time/component/availability.py
signature: -
Fields
| field | description 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | required | signature | default | type | 
|---|---|---|---|---|---|
| spec | Override the original spec for this element. | ○ | ○ | null | Spec | 
| context | Send context data with this component's event. | ○ | ○ | {} | dict | 
| sensitive | Mark this component's event as sensitive. This will encrypt the event if the Sensitive Data integration has been enabled. | ○ | ○ | false | bool | 
| triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list | 
| timezone | ○ | ○ | "America/Toronto" | Timezone | |
| mon | ○ | ○ | null | str | |
| tue | ○ | ○ | null | str | |
| wed | ○ | ○ | null | str | |
| thu | ○ | ○ | null | str | |
| fri | ○ | ○ | null | str | |
| sat | ○ | ○ | null | str | |
| sun | ○ | ○ | null | str | |
Usage reference
Basic
triggers:
  - keyword: meya.time.component.availability
steps:
  - type: meya.time.component.availability
Full
triggers:
  - keyword: meya.time.component.availability
steps:
  - type: meya.time.component.availability
    spec:
      type: STRING
      data:
        STRING: ANY
      timeout: 123
      trigger_when: ANY
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    timezone: TIMEZONE
    mon: STRING
    tue: STRING
    wed: STRING
    thu: STRING
    fri: STRING
    sat: STRING
    sun: STRING
