number:
  - platform: template
    name: "Test Number"
    id: test_number
    optimistic: true
    min_value: 0
    max_value: 100
    step: 1

sensor:
  - platform: number
    name: "Test Number Value"
    source_id: test_number
