name: Simple switch with timer
products:
  - id: r15JnoGqWPM4PPtl
    name: Teckin SP21
  - id: 5bvnmoqjth5nd4de
    name: Teckin SP21/SP22/SP27
primary_entity:
  entity: switch
  dps:
    - id: 1
      name: switch
      type: boolean
secondary_entities:
  - entity: number
    category: config
    translation_key: timer
    dps:
      - id: 11
        name: value
        type: integer
        unit: min
        range:
          min: 0
          max: 86400
        mapping:
          - scale: 60
            step: 60
