Adding simple signal handling for stop and start
if no entity, invalid and keep data only when valid