Blind automation Error: Value 100.0 for Number is outside valid range 0 - 0.0

Hi

I am having a problem setting automation up to open and close the blinds. I have one set up to close the blinds and this works perfectly, but the one to open doesn’t and errors. If I run manually it shows up in HA as being changed to value 100.0. I am new to this, but to me I don’t seem to be able to see where I can change the value range, also the “close” works but with a value of 1. If I change the value in the line it causes it to not work or error. Could anyone please help tell me what I am missing.

Thanks

alias: Close Blinds
description: ""
trigger:
  - platform: sun
    event: sunset
    offset: 0
condition: []
action:
  - device_id: d5318224074d582d301b3a44c9adf049
    domain: number
    entity_id: number.lumi_lumi_curtain_acn002_number
    type: set_value
    value: 0
mode: single
alias: Open Blinds
description: ""
trigger:
  - platform: sun
    event: sunrise
    offset: 0
condition: []
action:
  - device_id: d5318224074d582d301b3a44c9adf049
    domain: number
    entity_id: number.lumi_lumi_curtain_acn002_number
    type: set_value
    value: 100
mode: single
Craftroom Blinds changed to 100.0
13:30:11 - 36 minutes ago