Expected Behavior
If a Thing is deleted, it actually gets removed.
Current Behavior
If the Thing is disabled and then one tries to delete it. The Thing transitions to the "marked for deletion" state both in the UI and in events.log. But there it remains. When restarting OH, the Thing comes back in a disabled state.
However, if one first enables the Thing and then deletes it, the Thing is removed as expected.
Steps to Reproduce (for Bugs)
- Disable a Thing
- Attempt to delete it
- Reboot OH and see that the Thing comes back as disabled
- Enable the Thing
- Successfully delete it
Context
It's not a big deal and there is a work around. But it is annoying and should be fixed.
Your Environment
runtimeInfo:
version: 5.1.4
buildString: Release Build
locale: en-US
systemInfo:
configFolder: /openhab/conf
userdataFolder: /openhab/userdata
logFolder: /openhab/userdata/logs
javaVersion: 21.0.10
javaVendor: Debian
osName: Linux
osVersion: 6.8.0-110-generic
osArchitecture: amd64
availableProcessors: 4
freeMemory: 350277328
totalMemory: 1181745152
uptime: 3517
startLevel: 100
addons:
- automation-jsscripting
- binding-amazonechocontrol
- binding-astro
- binding-chatgpt
- binding-chromecast
- binding-homeassistant
- binding-http
- binding-ipcamera
- binding-matter
- binding-mqtt
- binding-network
- binding-networkupstools
- binding-openweathermap
- binding-shelly
- binding-vesync
- binding-zwave
- misc-openhabcloud
- persistence-inmemory
- persistence-mapdb
- persistence-rrd4j
- transformation-basicprofiles
- transformation-jinja
- transformation-jsonpath
- transformation-map
- transformation-regex
- ui-basic
- ui-habot
- voice-pipertts
clientInfo:
device:
ios: false
android: false
androidChrome: false
desktop: true
iphone: false
ipod: false
ipad: false
edge: false
ie: false
firefox: false
macos: false
windows: false
cordova: false
electron: false
capacitor: false
nwjs: false
webView: false
webview: false
standalone: false
pixelRatio: 1
prefersColorScheme: light
isSecureContext: true
locationbarVisible: true
menubarVisible: true
navigator:
cookieEnabled: true
deviceMemory: 32
hardwareConcurrency: 11
language: en-US
languages:
- en-US
onLine: true
platform: Linux x86_64
screen:
width: 2560
height: 1440
colorDepth: 24
support:
touch: false
pointerEvents: true
passiveListener: true
intersectionObserver: true
themeOptions:
dark: light
autoDarkMode: true
bars: light
homeNavBar: default
homeBackground: default
disableExpandableCardAnimation: false
blocklyRenderer: null
disablePageTransitionAnimation: false
hideChatInput: false
webAudio: false
visibleBreakpointDisabled: false
userAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/147.0.0.0 Safari/537.36
timestamp: 2026-04-17T18:11:15.082Z
Expected Behavior
If a Thing is deleted, it actually gets removed.
Current Behavior
If the Thing is disabled and then one tries to delete it. The Thing transitions to the "marked for deletion" state both in the UI and in events.log. But there it remains. When restarting OH, the Thing comes back in a disabled state.
However, if one first enables the Thing and then deletes it, the Thing is removed as expected.
Steps to Reproduce (for Bugs)
Context
It's not a big deal and there is a work around. But it is annoying and should be fixed.
Your Environment