The problem
the action action: input_number.decrement
target:
entity_id: input_number.xyz gives an error "Actie input_number/increment kon niet worden uitgevoerd. 'InputNumber' object has no attribute '_step'
It used to work in 2026.7.x
What version of Home Assistant Core has the issue?
2026.8.0
What was the last working version of Home Assistant Core?
2026.7.0
What type of installation are you running?
Home Assistant OS
Integration causing the issue
it's a yaml template
Link to integration documentation on our website
No response
Diagnostics information
Logger: homeassistant.helpers.script.websocket_api_script
Bron: helpers/script.py:573
Eerst voorgekomen: 15:20:33 (1 gebeurtenis)
Laatst gelogd: 15:20:33
websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'InputNumber' object has no attribute '_step'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 573, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1081, in _async_step_call_service
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 683, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2961, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 3004, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 906, in entity_service_call
response_data = await _async_handle_entity_calls(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 785, in _async_handle_entity_calls
single_result = await entity.async_request_call(_with_context(entity, coro))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1710, in async_request_call
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 780, in _with_context
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 864, in _handle_single_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/spook/ectoplasms/input_number/services/increment.py", line 37, in async_handle_service
amount = call.data.get("amount", entity._step) # noqa: SLF001
^^^^^^^^^^^^
AttributeError: 'InputNumber' object has no attribute '_step'. Did you mean: 'step'?
Example YAML snippet
type: custom:button-card
layout: grid
styles:
card:
- padding: 0 8px 0 8px
- height: 48px
- background: dark
- box-shadow: none
- padding-right: 24px
- background-color: '#2b2b2b'
- border-radius: 8px
grid:
- grid-template-columns: auto 1fr 32px 40px 32px
- grid-template-areas: '"label spacer minus value plus"'
- column-gap: 4px
- align-items: center
custom_fields:
label:
card:
type: custom:button-card
name: PV Limiter Offset (W)
styles:
card:
- background: dark
- height: 24px
- padding: 4px 8px
- border-radius: 6px
- background-color: '#2b2b2b'
- border: none
- margin-left: 8px
name:
- color: white
- font-size: 14px
spacer:
card:
type: custom:button-card
styles:
card:
- background: dark
- box-shadow: none
- background-color: '#2b2b2b'
- border: none
minus:
card:
type: custom:button-card
name: −
tap_action:
action: call-service
service: input_number.decrement
service_data:
entity_id: input_number.pv_limiter_offset
styles:
card:
- width: 32px
- height: 32px
- background-color: '#2b2b2b'
- border-radius: 4px
name:
- color: white
- font-size: 20px
value:
card:
type: custom:button-card
entity: input_number.pv_limiter_offset
show_state: true
show_name: false
show_icon: false
styles:
card:
- width: 40px
- height: 32px
- background: dark
- background-color: '#2b2b2b'
- border: none
state:
- color: white
- font-size: 12px
- text-align: center
plus:
card:
type: custom:button-card
name: +
tap_action:
action: call-service
service: input_number.increment
service_data:
entity_id: input_number.pv_limiter_offset
styles:
card:
- width: 32px
- height: 32px
- background-color: '#2b2b2b'
- border-radius: 4px
name:
- color: white
- font-size: 20px
Anything in the logs that might be useful for us?
Additional information
No response
The problem
the action action: input_number.decrement
target:
entity_id: input_number.xyz gives an error "Actie input_number/increment kon niet worden uitgevoerd. 'InputNumber' object has no attribute '_step'
It used to work in 2026.7.x
What version of Home Assistant Core has the issue?
2026.8.0
What was the last working version of Home Assistant Core?
2026.7.0
What type of installation are you running?
Home Assistant OS
Integration causing the issue
it's a yaml template
Link to integration documentation on our website
No response
Diagnostics information
Logger: homeassistant.helpers.script.websocket_api_script
Bron: helpers/script.py:573
Eerst voorgekomen: 15:20:33 (1 gebeurtenis)
Laatst gelogd: 15:20:33
websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'InputNumber' object has no attribute '_step'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 573, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1081, in _async_step_call_service
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 683, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2961, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 3004, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 906, in entity_service_call
response_data = await _async_handle_entity_calls(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 785, in _async_handle_entity_calls
single_result = await entity.async_request_call(_with_context(entity, coro))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1710, in async_request_call
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 780, in _with_context
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 864, in _handle_single_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/spook/ectoplasms/input_number/services/increment.py", line 37, in async_handle_service
amount = call.data.get("amount", entity._step) # noqa: SLF001
^^^^^^^^^^^^
AttributeError: 'InputNumber' object has no attribute '_step'. Did you mean: 'step'?
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response