Slider widget not updating item

Greetings

Anyone has an idea why the item in HA is not updated by the slider widget in ESPHome? Vice verse is working fine, when I change the value in HA, the slider in the lvgl display is updated.

Config:

...
number:
  - id: current
    platform: homeassistant
    entity_id: number.warp2_global_current
    on_value: 
      - lvgl.slider.update:
          id: slider1
          value: !lambda return x;
...
...
...
lvgl:
...
      widgets:
        - slider:
            id: slider1
            x: 45
            y: 168
            width: 240
            height: 30
            min_value: 6
            max_value: 16
            on_change:
              - number.set:
                  id: current
                  value: !lambda return x;

Logs:

[17:37:37][D][api.connection:2440]: Home Assistant 2026.3.4 (10.0.72.20): connected
[17:37:37][D][homeassistant.number:023]: 'number.warp2_global_current': Got state 14.0
[17:37:37][D][number:025]: 'current' >> 14.00
[17:37:37][D][homeassistant.number:033]: 'current': Min retrieved: 6.0
[17:37:37][D][homeassistant.number:043]: 'current': Max retrieved: 16.0
[17:37:37][D][homeassistant.number:053]: 'current': Step Retrieved 1.0
[17:37:42][D][xpt2046:055]: Touchscreen Update [2794, 1345], z = 2399
[17:37:42][D][xpt2046:055]: Touchscreen Update [2789, 1344], z = 2462
[17:37:42][D][xpt2046:055]: Touchscreen Update [2787, 1346], z = 2413
[17:37:42][D][number:064]: 'current': Setting value
[17:37:42][D][number:123]:   New value: 8.000000
[17:37:43][D][number:025]: 'current' >> 8.00
[17:37:43][D][xpt2046:055]: Touchscreen Update [2797, 1344], z = 2311

I tried different actions like on_value, on_change, on_release in the widget, negative. In the log example, the value in HA is 14. When I move the slider in the lvgl display to 8, the value is not updated in HA.

Found the problem:

HA Logs:

2026-03-31 17:45:54.875 ERROR (MainThread) [homeassistant.components.esphome.manager] WARP Display: Service call number.set_value: with data {'entity_id': 'number.warp2_global_current', 'value': '13'} rejected; If you trust this device and want to allow access for it to make Home Assistant service calls, you can enable this functionality in the options flow

After enabled that option in the ESPHome integration’s device, it worked.